Commit 9bfe428
committed
Fix alarmed off state incorrectly setting _is_on to True
Remove `self._is_on = True` from alarmed/off/state.py __init__.
This line contradicted the IsOff mixin, which defines is_on as False.
The bug caused:
- KNX plugin to not send on/off commands during alarmed state toggles
(both alarmed_on and alarmed_off incorrectly reported is_on=True)
- Zone lights to stop toggling when alarmed
- Lights to get stuck in forced_off after alarmed transitions
The state now correctly inherits is_on=False from the IsOff mixin,
allowing proper KNX command generation during toggle transitions.
Assisted-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 2adabf1 commit 9bfe428
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | 52 | | |
54 | 53 | | |
0 commit comments