30 line
755 B
YAML
30 line
755 B
YAML
|
- alias: Ambilight an (HDMI)
|
||
|
trigger:
|
||
|
platform: state
|
||
|
entity_id: switch.harmony_firetv, switch.harmony_steamlink, switch.harmony_playstation
|
||
|
to: 'on'
|
||
|
action:
|
||
|
service: light.turn_on
|
||
|
data:
|
||
|
entity_id: light.ambilight
|
||
|
effect: HDMI
|
||
|
|
||
|
- alias: Ambilight an
|
||
|
trigger:
|
||
|
platform: state
|
||
|
entity_id: switch.harmony_music_bt
|
||
|
to: 'on'
|
||
|
action:
|
||
|
service: light.turn_on
|
||
|
data:
|
||
|
entity_id: light.ambilight
|
||
|
|
||
|
- alias: Ambilight aus
|
||
|
trigger:
|
||
|
platform: state
|
||
|
entity_id: switch.harmony_music_bt, switch.harmony_firetv, switch.harmony_steamlink, switch.harmony_playstation
|
||
|
to: 'off'
|
||
|
action:
|
||
|
service: light.turn_off
|
||
|
data:
|
||
|
entity_id: light.ambilight
|