blueprints/automation/motion-light.yaml aktualisiert

This commit is contained in:
2025-08-29 15:05:57 +00:00
parent 4431662d24
commit cd92e4e21c

View File

@@ -58,12 +58,13 @@ condition:
- alias: "Optional lux check"
condition: template
value_template: >
{% if lux_entity %}
{% if lux_entity and states(lux_entity) not in ['unknown','unavailable'] %}
{{ states(lux_entity) | float(0) < lux_threshold }}
{% else %}
true
{% endif %}
action:
- alias: "Set dynamic brightness"
variables: