Skip to content

Commit

Permalink
feat: toggle light child with button
Browse files Browse the repository at this point in the history
  • Loading branch information
TribuneX committed Jul 13, 2024
1 parent e25fd26 commit 0423e9f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions automation/lights/bedroom_lights.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@
transition: 1
- service: script.turn_off_livingroom_delay_10

#- alias: "Lights: Toggle lights in bedroom"
# initial_state: "on"
# trigger:
# - device_id: 3fc934a83becd8fc3406f5ca61be4928
# domain: zha
# platform: device
# type: remote_button_short_press
# subtype: remote_button_short_press
# action:
# service: light.toggle
# entity_id: light.bed1
- alias: "Lights: Toggle lights for child"
initial_state: "on"
trigger:
- device_id: 3fc934a83becd8fc3406f5ca61be4928
domain: zha
platform: device
type: remote_button_short_press
subtype: remote_button_short_press
action:
service: light.toggle
entity_id: light.child

0 comments on commit 0423e9f

Please sign in to comment.