Skip to content

Commit

Permalink
fix: alarm control panel OFF to DISARMED
Browse files Browse the repository at this point in the history
  • Loading branch information
fuatakgun committed Jan 5, 2023
1 parent 6a21ce7 commit 2c893b3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion custom_components/eufy_security/alarm_control_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ def state(self):
if triggered is True:
return CurrentModeToStateValue.TRIGGERED.value
current_mode = get_child_value(self.product.properties, self.metadata.name, -1)
current_mode = KEYPAD_OFF_CODE
if current_mode == KEYPAD_OFF_CODE:
return CurrentModeToStateValue[CurrentModeToState.DISARMED.name].value
if current_mode in CUSTOM_CODES:
Expand Down

0 comments on commit 2c893b3

Please sign in to comment.