home-automation-home-assistant/automations/livingroom.yaml
Florian Brinker cd860031fb Add config
2019-01-16 13:47:15 +01:00

30 lines
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