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
|
source_url: https://git.klueter.dev/ThronRycer/HomeAssistant/raw/branch/main/blueprints/sonoff/zbminir2-detached.yaml
|
||||||
|
|
||||||
input:
|
input:
|
||||||
zbminir2_device:
|
zbminir2_entity:
|
||||||
name: ZBMINIR2 device
|
name: ZBMINIR2 input
|
||||||
description: ZBMINIR2 device, ensure to activate "Detach relay mode"
|
description: Binary sensor of the ZBMINIR2 (detach relay mode)
|
||||||
selector:
|
selector:
|
||||||
device:
|
entity:
|
||||||
filter:
|
filter:
|
||||||
manufacturer: SONOFF
|
domain: binary_sensor
|
||||||
model: ZBMINIR2
|
|
||||||
multiple: false
|
multiple: false
|
||||||
|
|
||||||
controlled_light:
|
controlled_light:
|
||||||
@@ -31,10 +30,6 @@ triggers:
|
|||||||
type: opened
|
type: opened
|
||||||
trigger: device
|
trigger: device
|
||||||
|
|
||||||
variables:
|
|
||||||
zbminir2_device: !input "zbminir2_device"
|
|
||||||
zbminir2_switch: "{{ device_entities(zbminir2_device)[0] }}"
|
|
||||||
|
|
||||||
actions:
|
actions:
|
||||||
sequence:
|
sequence:
|
||||||
- action: light.toggle
|
- action: light.toggle
|
||||||
|
|||||||
Reference in New Issue
Block a user