Qwikswitch fix listen loop (#22600)
* Qwikswitch fix listen loop * 0.93 fix qwikcord upstream
This commit is contained in:
parent
7646dc00e0
commit
2578c8525b
6 changed files with 17 additions and 13 deletions
|
@ -35,7 +35,7 @@ class QSBinarySensor(QSEntity, BinarySensorDevice):
|
|||
|
||||
def __init__(self, sensor):
|
||||
"""Initialize the sensor."""
|
||||
from pyqwikswitch import SENSORS
|
||||
from pyqwikswitch.qwikswitch import SENSORS
|
||||
|
||||
super().__init__(sensor['id'], sensor['name'])
|
||||
self.channel = sensor['channel']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue