From 7d48dc0830883d6ea8458b201feb643f67a19f77 Mon Sep 17 00:00:00 2001 From: Kevin Eifinger Date: Thu, 11 Nov 2021 13:38:03 +0100 Subject: [PATCH] Add automation.toggle_bath_light_on_button_click --- packages/deconz.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/packages/deconz.yaml b/packages/deconz.yaml index 91c6a3d9..6ba91546 100644 --- a/packages/deconz.yaml +++ b/packages/deconz.yaml @@ -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 \ No newline at end of file