fix: Ensure nightstand lamp automation only triggers when receiver goes from "on" to "off" instead of undefined to "off"

This commit is contained in:
2026-05-16 18:19:06 -07:00
parent dd82a8b152
commit 19ac765370

View File

@@ -282,6 +282,7 @@ automation:
trigger: trigger:
- platform: state - platform: state
entity_id: media_player.living_room_receiver entity_id: media_player.living_room_receiver
from: 'on'
to: 'off' to: 'off'
condition: condition:
- condition: time - condition: time