From e6365f70e73c95a3a5037700642000f66503204c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Kl=C3=BCter?= Date: Mon, 12 Jan 2026 20:19:02 +0100 Subject: [PATCH] Update Blueprint --- blueprints/sonoff/zbminir2-detached.yaml | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/blueprints/sonoff/zbminir2-detached.yaml b/blueprints/sonoff/zbminir2-detached.yaml index 190ae6a..5a385af 100644 --- a/blueprints/sonoff/zbminir2-detached.yaml +++ b/blueprints/sonoff/zbminir2-detached.yaml @@ -6,15 +6,14 @@ blueprint: source_url: https://git.klueter.dev/ThronRycer/HomeAssistant/raw/branch/main/blueprints/sonoff/zbminir2-detached.yaml input: - zbminir2_device: - name: ZBMINIR2 device - description: ZBMINIR2 device, ensure to activate "Detach relay mode" - selector: - device: - filter: - manufacturer: SONOFF - model: ZBMINIR2 - multiple: false +zbminir2_entity: + name: ZBMINIR2 input + description: Binary sensor of the ZBMINIR2 (detach relay mode) + selector: + entity: + filter: + domain: binary_sensor + multiple: false controlled_light: name: Toggle target lights @@ -31,10 +30,6 @@ triggers: type: opened trigger: device -variables: - zbminir2_device: !input "zbminir2_device" - zbminir2_switch: "{{ device_entities(zbminir2_device)[0] }}" - actions: sequence: - action: light.toggle