Skip to content

Commit

Permalink
Add automation.toggle_bath_light_on_button_click
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger committed Nov 11, 2021
1 parent 72cb48f commit 7d48dc0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/deconz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,16 @@ homeassistant:
device_class: window
binary_sensor.contact_upper_bathroom_window_tilted:
device_class: window

automation:
- id: 426859aa-ddea-414e-bfa4-c08c5ad1e11f
alias: Toggle bath light on button click
description: Turn the bathroom light on and off via button
use_blueprint:
path: sp3cialck/deconz-xiaomi-aqara-wxkg11lm-smart-wireless-mini-switch.yaml
input:
remote: f9593a92724b462e815eb27253bb7dab
button_press_in:
- service: light.toggle
target:
entity_id: light.lower_bathroom_yeelight

0 comments on commit 7d48dc0

Please sign in to comment.