This commit is contained in:
2023-07-15 01:04:33 +02:00
parent 900f180c69
commit 139a655400
41 changed files with 479 additions and 127 deletions

62
packages/light/buttons/bedrooms.yaml Executable file → Normal file
View File

@ -1,19 +1,57 @@
# 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
#- 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