157 lines
3.7 KiB
YAML
157 lines
3.7 KiB
YAML
# ---------------------------------------------------
|
|
- alias: KNX Button Esszimmertür oben links kurz
|
|
trigger:
|
|
platform: event
|
|
event_type: short_click
|
|
event_data:
|
|
entity_id: switch.esszimmer_szene_0
|
|
action:
|
|
service: cover_half.set_half
|
|
data:
|
|
entity_id: group.living_area
|
|
|
|
|
|
- alias: KNX Button Esszimmertür oben links lang
|
|
trigger:
|
|
platform: event
|
|
event_type: long_click
|
|
event_data:
|
|
entity_id: switch.esszimmer_szene_0
|
|
action:
|
|
service: cover_half.set_half
|
|
data:
|
|
entity_id:
|
|
- cover.kuche_fenster_rollo
|
|
- cover.esszimmer_fenster_rollo
|
|
|
|
# ===
|
|
|
|
- alias: KNX Button Esszimmertür oben rechts kurz
|
|
trigger:
|
|
platform: event
|
|
event_type: short_click
|
|
event_data:
|
|
entity_id: switch.esszimmer_szene_1
|
|
action:
|
|
service: cover.open_cover
|
|
data:
|
|
entity_id: group.living_area
|
|
|
|
|
|
- alias: KNX Button Esszimmertür oben rechts lang
|
|
trigger:
|
|
platform: event
|
|
event_type: long_click
|
|
event_data:
|
|
entity_id: switch.esszimmer_szene_1
|
|
action:
|
|
service: cover.open_cover
|
|
data:
|
|
entity_id:
|
|
- cover.kuche_fenster_rollo
|
|
- cover.esszimmer_fenster_rollo
|
|
|
|
|
|
# ---------------------------------------------------
|
|
|
|
- alias: KNX Button Esszimmertür mitte links kurz
|
|
trigger:
|
|
platform: event
|
|
event_type: short_click
|
|
event_data:
|
|
entity_id: switch.esszimmer_szene_2
|
|
action:
|
|
service: scene.turn_on
|
|
data:
|
|
entity_id: scene.wohnbereich_orange
|
|
|
|
- alias: KNX Button Esszimmertür mitte links lang
|
|
trigger:
|
|
platform: event
|
|
event_type: long_click
|
|
event_data:
|
|
entity_id: switch.esszimmer_szene_2
|
|
action:
|
|
service: scene.turn_on
|
|
data:
|
|
entity_id: scene.kuche_essbereich_orange
|
|
|
|
# ===
|
|
|
|
- alias: KNX Button Esszimmertür mitte rechts kurz
|
|
trigger:
|
|
platform: event
|
|
event_type: short_click
|
|
event_data:
|
|
entity_id: switch.esszimmer_szene_3
|
|
action:
|
|
service: scene.turn_on
|
|
data:
|
|
entity_id: scene.wohnbereich_hell
|
|
|
|
- alias: KNX Button Esszimmertür mitte rechts lang
|
|
trigger:
|
|
platform: event
|
|
event_type: long_click
|
|
event_data:
|
|
entity_id: switch.esszimmer_szene_3
|
|
action:
|
|
service: scene.turn_on
|
|
data:
|
|
entity_id: scene.kuche_essbereich_hell
|
|
|
|
|
|
# ---------------------------------------------------
|
|
|
|
- alias: KNX Button Esszimmertür unten links ein
|
|
trigger:
|
|
- entity_id: switch.esszimmer_szene_4
|
|
from: 'off'
|
|
to: 'on'
|
|
platform: state
|
|
action:
|
|
service: switch.turn_on
|
|
data:
|
|
entity_id:
|
|
- switch.herd_phase_1
|
|
- switch.herd_phase_2
|
|
- switch.herd_phase_3
|
|
|
|
- alias: KNX Button Esszimmertür unten links aus
|
|
trigger:
|
|
- entity_id: switch.esszimmer_szene_4
|
|
from: 'on'
|
|
to: 'off'
|
|
platform: state
|
|
action:
|
|
service: switch.turn_off
|
|
data:
|
|
entity_id:
|
|
- switch.herd_phase_1
|
|
- switch.herd_phase_2
|
|
- switch.herd_phase_3
|
|
|
|
# ===
|
|
|
|
- alias: KNX Button Esszimmertür unten rechts kurz
|
|
trigger:
|
|
platform: event
|
|
event_type: short_click
|
|
event_data:
|
|
entity_id: switch.esszimmer_szene_5
|
|
action:
|
|
service: light.turn_off
|
|
data:
|
|
entity_id: group.living_area
|
|
|
|
- alias: KNX Button Esszimmertür unten rechts lang
|
|
trigger:
|
|
platform: event
|
|
event_type: long_click
|
|
event_data:
|
|
entity_id: switch.esszimmer_szene_5
|
|
action:
|
|
service: light.turn_off
|
|
data:
|
|
entity_id: light.kuche_esszimmer_lichter
|