Skip to content

Commit

Permalink
fix: home assistant warning on alarm control panel state
Browse files Browse the repository at this point in the history
  • Loading branch information
fuatakgun committed Nov 23, 2024
1 parent 4389a9f commit b9fa493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/eufy_security/alarm_control_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ async def reboot(self) -> None:
await self.product.reboot()

@property
def state(self):
def alarm_state(self):
alarm_delayed = get_child_value(self.product.properties, "alarmDelay", 0)
if alarm_delayed > 0:
return CurrentModeToStateValue.ALARM_DELAYED.value
Expand Down

0 comments on commit b9fa493

Please sign in to comment.