Skip to content

Commit e7fb479

Browse files
committed
Fix dismissing of lower priority notifications
The lower priority notification was being properly shown via the entities, but the command to update the state of the LEDs on the switch was not being sent.
1 parent a94cd26 commit e7fb479

File tree

3 files changed

+469
-2
lines changed

3 files changed

+469
-2
lines changed

custom_components/lampie/orchestrator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ async def _transition_switch(
636636
TRACE, "transition_switch: %s; %s -> %s", switch_id, from_config, to_config
637637
)
638638

639-
if via_switch_firmware:
639+
if via_switch_firmware and _all_clear(to_config):
640640
return
641641

642642
from_mode = (

0 commit comments

Comments
 (0)