mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Update dim_lights_when_playing_media.markdown (#589)
This commit is contained in:
parent
cc50b21b0c
commit
8dc0c9373f
@ -57,7 +57,7 @@ automation:
|
|||||||
entity_id: media_player.htpc
|
entity_id: media_player.htpc
|
||||||
from: 'playing'
|
from: 'playing'
|
||||||
condition:
|
condition:
|
||||||
- platform: state
|
- condition: state
|
||||||
entity_id: sun.sun
|
entity_id: sun.sun
|
||||||
state: 'below_horizon'
|
state: 'below_horizon'
|
||||||
action:
|
action:
|
||||||
@ -70,7 +70,7 @@ automation:
|
|||||||
entity_id: media_player.htpc
|
entity_id: media_player.htpc
|
||||||
to: 'playing'
|
to: 'playing'
|
||||||
condition:
|
condition:
|
||||||
- platform: state
|
- condition: state
|
||||||
entity_id: sun.sun
|
entity_id: sun.sun
|
||||||
state: 'below_horizon'
|
state: 'below_horizon'
|
||||||
action:
|
action:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user