adds comments
This commit is contained in:
@@ -92,13 +92,41 @@ blueprint:
|
||||
mode: restart
|
||||
max_exceeded: silent
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
################################################################################
|
||||
# TRIGGER VARIABLES
|
||||
# Everything defined here can be used inside Jinja code in triggers
|
||||
################################################################################
|
||||
trigger_variables:
|
||||
motion_sensors: !input motion_sensors
|
||||
|
||||
################################################################################
|
||||
# VARIABLES
|
||||
################################################################################
|
||||
variables:
|
||||
version: "2026.03.2"
|
||||
#blind_entities: "{{ expand(blind) | map(attribute='entity_id') | list }}"
|
||||
|
||||
################################################################################
|
||||
# TRIGGERS
|
||||
################################################################################
|
||||
triggers:
|
||||
# Trigger when motion is detected by any of the defined motion sensors
|
||||
- trigger: state
|
||||
entity_id: !input motion_sensors
|
||||
from: "off"
|
||||
to: "on"
|
||||
|
||||
action:
|
||||
# - trigger: template
|
||||
# value_template: >
|
||||
# {{ expand('binary_sensor.window1', 'binary_sensor.window2',
|
||||
# 'binary_sensor.window3', 'binary_sensor.window4')
|
||||
# | selectattr('state', 'eq', 'on') | list | count == 4 }}
|
||||
|
||||
|
||||
################################################################################
|
||||
# ACTIONS
|
||||
################################################################################
|
||||
actions:
|
||||
- choose:
|
||||
# "Activate off-scene if illuminance is above threshold"
|
||||
- conditions:
|
||||
|
||||
Reference in New Issue
Block a user