Update Blueprint
This commit is contained in:
@@ -6,14 +6,13 @@ 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"
|
||||
zbminir2_entity:
|
||||
name: ZBMINIR2 input
|
||||
description: Binary sensor of the ZBMINIR2 (detach relay mode)
|
||||
selector:
|
||||
device:
|
||||
entity:
|
||||
filter:
|
||||
manufacturer: SONOFF
|
||||
model: ZBMINIR2
|
||||
domain: binary_sensor
|
||||
multiple: false
|
||||
|
||||
controlled_light:
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user