Qwikswitch fix listen loop (#22600)
* Qwikswitch fix listen loop * 0.93 fix qwikcord upstream
This commit is contained in:
1 parent
7646dc00e0
commit
2578c8525b
6 files changed
+17
-13
No files matched your search
@@ -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']
|
||||
|
||||
Reference in new issue
Block a user