Update Blueprint

This commit is contained in:
2026-01-12 20:30:39 +01:00
parent 6fe8241ef3
commit 43694e0574

View File

@@ -6,36 +6,31 @@ blueprint:
source_url: https://git.klueter.dev/ThronRycer/HomeAssistant/raw/branch/main/blueprints/sonoff/zbminir2-detached.yaml source_url: https://git.klueter.dev/ThronRycer/HomeAssistant/raw/branch/main/blueprints/sonoff/zbminir2-detached.yaml
input: input:
zbminir2_entity: zbminir2_device:
name: ZBMINIR2 input name: ZBMINIR2 input
description: Binary sensor of the ZBMINIR2 (detach relay mode) description: Binary sensor of the ZBMINIR2 (detach relay mode)
selector: selector:
entity: device:
filter: manufacturer: Sonoff
domain: binary_sensor model: ZBMINIR2
multiple: false
controlled_light: controlled_light:
name: Toggle target lights name: Toggle target lights
description: The switch will toggle these lights. description: The switch will toggle these lights.
selector: selector:
entity: entity:
filter:
domain: light domain: light
multiple: true multiple: true
triggers: trigger:
- domain: binary_sensor - platform: device
entity_id: !input "zbminir2_entity" domain: binary_sensor
device_id: !input zbminir2_device
type: opened type: opened
trigger: device
actions: action:
sequence: - service: light.toggle
- action: light.toggle
metadata: {}
data: {}
target: target:
entity_id: !input "controlled_light" entity_id: !input controlled_light
mode: single mode: single