homeassistant-config/automations/knx_buttons_eingangstuer.yaml

66 lines
1.5 KiB
YAML
Raw Normal View History

- alias: KNX Button Eingangstür mitte links kurz - alles an
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.eingang_szene_2
action:
- service: light.turn_on
data:
entity_id:
- light.gang_licht
- light.gang_einganglicht
- alias: KNX Button Eingangstür mitte links lang - alles an hell
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.eingang_szene_2
action:
- service: light.turn_on
data:
entity_id:
- light.gang_licht
- light.gang_einganglicht
- service: scene.turn_on
data:
entity_id:
- scene.wohnbereich_hell
# -----------
- alias: KNX Button Eingangstür mitte rechts kurz - alles aus innen
trigger:
platform: event
event_type: short_click
event_data:
entity_id: switch.eingang_szene_3
action:
service: light.turn_off
data:
entity_id:
- all_downstairs_but_outside
- alias: KNX Button Eingangstür mitte rechts lang - alles aus innen und aussen
trigger:
platform: event
event_type: long_click
event_data:
entity_id: switch.eingang_szene_3
action:
service: light.turn_off
data:
entity_id:
- all_downstairs
# --------------------------------- Alarm Buttons -----------------------------------
# Alarm
#switch.eingang_szene_4 # key
#switch.eingang_szene_5 # dog