fix: Ensure nightstand lamp automation only triggers when receiver goes from "on" to "off" instead of undefined to "off"
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user