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

44 строки
1000 B
YAML
Исходник Обычный вид История

- alias: Ambilight HDMI
2019-01-16 12:47:15 +00:00
trigger:
platform: state
entity_id: switch.harmony_firetv, switch.harmony_steamlink, switch.harmony_playstation
to: 'on'
2019-01-16 12:47:15 +00:00
action:
service: light.turn_on
data:
entity_id: light.ambilight
effect: HDMI
2019-01-16 12:47:15 +00:00
- alias: Musik an
2019-01-16 12:47:15 +00:00
trigger:
platform: state
entity_id: switch.harmony_music_bt
to: 'on'
2019-01-16 12:47:15 +00:00
action:
- service: script.livingroom_music_scenario_on
- alias: Musik aus
trigger:
platform: state
entity_id: switch.harmony_music_bt
to: 'off'
action:
- service: script.livingroom_music_scenario_off
2019-01-16 12:47:15 +00:00
- alias: Ambilight aus
trigger:
platform: state
entity_id: switch.harmony_firetv, switch.harmony_steamlink, switch.harmony_playstation
to: 'off'
action:
service: light.turn_off
data:
entity_id: light.ambilight
- alias: Ambilight aus wird zu an und schwarz
trigger:
platform: state
entity_id: light.ambilight
to: 'off'
2019-01-16 12:47:15 +00:00
action:
- service: script.ambilight_off