mirror of
https://github.com/andvikt/mega_hacs.git
synced 2026-11-02 22:48:44 +05:00
remove port in hub.binary_sesnors check when processing inbound message from controller
This commit is contained in:
1 parent
b908068315
commit
cb14f9aa2a
1 file changed
+2
-1
@@ -134,7 +134,8 @@ class MegaView(HomeAssistantView):
|
||||
if ret == 'd' and act:
|
||||
await hub.request(cmd=act.replace(':3', f':{v}'))
|
||||
ret = 'd' if hub.force_d else ''
|
||||
elif port in hub.binary_sensors:
|
||||
else:
|
||||
# elif port in hub.binary_sensors:
|
||||
hub.values[port] = data
|
||||
for cb in self.callbacks[hub.id][port]:
|
||||
cb(data)
|
||||
|
||||
Reference in new issue
Block a user