home-automation-home-assistant/automations/livingroom.yaml

30 baris
755 B
YAML
Mentah Pandangan Normal Riwayat

2019-01-16 12:47:15 +00:00
- 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