Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
correção do bug quando recebe  o codigo 1130  e  o alarme  esta armado away .
  • Loading branch information
fernac03 authored Aug 14, 2024
1 parent 325567f commit 6f243b9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,10 @@ def run(self):
dispatcher_send(self.hass, SIGNAL_PANEL_MESSAGE, self)
if evento == '1130' and self.armed_home == True:
self.fire_alarm=True
dispatcher_send(self.hass, SIGNAL_PANEL_MESSAGE, self)
dispatcher_send(self.hass, SIGNAL_PANEL_MESSAGE, self)
if evento == '1130' and self.armed_away == True:
self.fire_alarm=True
dispatcher_send(self.hass, SIGNAL_PANEL_MESSAGE, self)
if evento == '3130':
self.fire_alarm=False
dispatcher_send(self.hass, SIGNAL_PANEL_MESSAGE, self)
Expand Down

0 comments on commit 6f243b9

Please sign in to comment.