138 lines
3.9 KiB
YAML
Executable File
138 lines
3.9 KiB
YAML
Executable File
# Guest Room Button Light
|
|
automation:
|
|
#- alias: guestroom_light_button
|
|
#trigger:
|
|
#- device_id: c6b9d0a0f7a56e9f2966cdb8cb312614
|
|
#domain: zha
|
|
#platform: device
|
|
#type: remote_button_short_press
|
|
#subtype: button
|
|
#action:
|
|
#- type: toggle
|
|
#device_id: 1fcba92f6a53183e10c1dc35a9bb82ce
|
|
#entity_id: light.guestroom_switch_lamp
|
|
#domain: light
|
|
|
|
###### Bedroom ######
|
|
- alias: bedroom_door_light_button_single_press
|
|
trigger:
|
|
- device_id: 1c88c2785261b381346bf6ea621d02ea
|
|
domain: zha
|
|
platform: device
|
|
type: remote_button_short_press
|
|
subtype: turn_on
|
|
action:
|
|
- type: turn_on
|
|
device_id: e0e71e574631d1fd7ebf960b883d1b6f
|
|
entity_id: light.bedroom_bulb_light
|
|
domain: light
|
|
|
|
- alias: bedroom_door_light_button_long_press
|
|
trigger:
|
|
- device_id: 1c88c2785261b381346bf6ea621d02ea
|
|
domain: zha
|
|
platform: device
|
|
type: remote_button_long_press
|
|
subtype: dim_up
|
|
action:
|
|
- type: turn_on
|
|
device_id: f472f0815009f1343028a8d6a41b34ae
|
|
entity_id: light.bedroom_lights
|
|
domain: light
|
|
|
|
- alias: bedroom_door_light_button_single_press_down
|
|
trigger:
|
|
- device_id: 1c88c2785261b381346bf6ea621d02ea
|
|
domain: zha
|
|
platform: device
|
|
type: remote_button_short_press
|
|
subtype: turn_off
|
|
action:
|
|
- type: turn_off
|
|
device_id: f472f0815009f1343028a8d6a41b34ae
|
|
entity_id: light.bedroom_lights
|
|
domain: light
|
|
|
|
# Bedroom Button Philipp Light single press
|
|
- alias: bedroom_light_button_philipp_single_press
|
|
trigger:
|
|
- device_id: 5eaa44bd80bff72ec68727486d1259cd
|
|
domain: zha
|
|
platform: device
|
|
type: remote_button_short_press
|
|
subtype: button
|
|
action:
|
|
- type: toggle
|
|
device_id: f472f0815009f1343028a8d6a41b34ae
|
|
entity_id: light.bedroom_bulb_philipp_light
|
|
domain: light
|
|
|
|
# Bedroom Button Philipp Light double press
|
|
- alias: bedroom_light_button_philipp_double_press
|
|
trigger:
|
|
- device_id: 5eaa44bd80bff72ec68727486d1259cd
|
|
domain: zha
|
|
platform: device
|
|
type: remote_button_double_press
|
|
subtype: button
|
|
action:
|
|
- type: toggle
|
|
device_id: e0e71e574631d1fd7ebf960b883d1b6f
|
|
entity_id: light.bedroom_bulb_light
|
|
domain: light
|
|
|
|
# Bedroom Button Philipp Light long press
|
|
- alias: bedroom_light_button_philipp_long_press
|
|
trigger:
|
|
- device_id: 5eaa44bd80bff72ec68727486d1259cd
|
|
domain: zha
|
|
platform: device
|
|
type: remote_button_long_press
|
|
subtype: button
|
|
action:
|
|
- service: light.toggle
|
|
target:
|
|
entity_id: light.bedroom_lights
|
|
|
|
|
|
# Bedroom Button Toni Light
|
|
- alias: bedroom_light_button_toni_single_press
|
|
trigger:
|
|
- device_id: ab68a51751fcc28c6576ba467a77581d
|
|
domain: zha
|
|
platform: device
|
|
type: remote_button_short_press
|
|
subtype: button
|
|
action:
|
|
- type: toggle
|
|
device_id: f472f0815009f1343028a8d6a41b34ae
|
|
entity_id: light.bedroom_bulb_toni_light
|
|
domain: light
|
|
|
|
# Bedroom Button Toni Light double press
|
|
- alias: bedroom_light_button_toni_double_press
|
|
trigger:
|
|
- device_id: ab68a51751fcc28c6576ba467a77581d
|
|
domain: zha
|
|
platform: device
|
|
type: remote_button_double_press
|
|
subtype: button
|
|
action:
|
|
- type: toggle
|
|
device_id: e0e71e574631d1fd7ebf960b883d1b6f
|
|
entity_id: light.bedroom_bulb_light
|
|
domain: light
|
|
|
|
# Bedroom Button Toni Light long press
|
|
- alias: bedroom_light_button_toni_long_press
|
|
trigger:
|
|
- device_id: ab68a51751fcc28c6576ba467a77581d
|
|
domain: zha
|
|
platform: device
|
|
type: remote_button_long_press
|
|
subtype: button
|
|
action:
|
|
- service: light.toggle
|
|
target:
|
|
entity_id: light.bedroom_lights
|