Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fernac03 authored Aug 16, 2024
1 parent d67d216 commit 280664c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,14 +422,13 @@ def run(self):
if evento == '3137':
self.fire_alarm=False
dispatcher_send(self.hass, SIGNAL_PANEL_MESSAGE, self)
if evento == '1407':
if evento == '1407':
self.eletrificador=True
dispatcher_send(self.hass, SIGNAL_PANEL_MESSAGE, self)
if evento == '34071:
if evento == '3407:
self.eletrificador=False
dispatcher_send(self.hass, SIGNAL_PANEL_MESSAGE, self)

_LOGGER.warn("Eventos=%s", evento)
LOGGER.warn("Eventos=%s", evento)
message = b'\x7b\x0a\x01\x24\x01'
message += bytes({data[17]})
message += bytes({data[18]})
Expand Down

0 comments on commit 280664c

Please sign in to comment.