homeassistant-config/automations/knx_buttons_wohnzimmergangt...

151 lines
3.6 KiB
YAML
Raw Normal View History

# ---------------------------------------------------
- alias: KNX Button WohnzimmerGangTür oben links kurz
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.wohnzimmer_szene_0
action:
service: cover_half.set_half
data:
entity_id: group.living_area
- alias: KNX Button WohnzimmerGangTür oben links lang
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.wohnzimmer_szene_0
action:
service: cover_half.set_half
data:
entity_id:
- cover.wohnzimmer_fenster_rollo
- cover.wohnzimmer_terrassentur_rollo
# ===
- alias: KNX Button WohnzimmerGangTür oben rechts kurz
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.wohnzimmer_szene_1
action:
service: cover.open_cover
data:
entity_id: group.living_area
- alias: KNX Button WohnzimmerGangTür oben rechts lang
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.wohnzimmer_szene_1
action:
service: cover.open_cover
data:
entity_id:
- cover.wohnzimmer_fenster_rollo
- cover.wohnzimmer_terrassentur_rollo
# ---------------------------------------------------
- alias: KNX Button WohnzimmerGangTür mitte links kurz
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.wohnzimmer_szene_2
action:
service: scene.turn_on
data:
entity_id: scene.wohnbereich_orange
- alias: KNX Button WohnzimmerGangTür mitte links lang
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.wohnzimmer_szene_2
action:
service: scene.turn_on
data:
entity_id: scene.wohnzimmer_orange
# ===
- alias: KNX Button WohnzimmerGangTür mitte rechts kurz
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.wohnzimmer_szene_3
action:
service: scene.turn_on
data:
entity_id: scene.wohnbereich_hell
- alias: KNX Button WohnzimmerGangTür mitte rechts lang
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.wohnzimmer_szene_3
action:
service: scene.turn_on
data:
entity_id: scene.wohnzimmer_hell
# ---------------------------------------------------
- alias: KNX Button WohnzimmerGangTür unten links kurz
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.wohnzimmer_szene_4
action:
service: scene.turn_on
data:
2020-10-04 22:57:16 +02:00
entity_id: scene.wohnzimmer_dunkel
- alias: KNX Button WohnzimmerGangTür unten links lang
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.wohnzimmer_szene_4
action:
service: scene.turn_on
data:
2020-10-04 22:57:16 +02:00
entity_id: scene.wohnzimmer_dunkel
# ===
- alias: KNX Button WohnzimmerGangTür unten rechts kurz
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.wohnzimmer_szene_5
action:
service: light.turn_off
data:
entity_id: group.living_area
- alias: KNX Button WohnzimmerGangTür unten rechts lang
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.wohnzimmer_szene_5
action:
service: light.turn_off
data:
entity_id: light.kuche_wohnzimmer_lichter