Garageport animation, fjern alarm 1899, baghave lys vintersæson uge 42-8

This commit is contained in:
2026-05-05 19:38:01 +02:00
parent ae8b1ea6f8
commit bf6f2feba6
5 changed files with 72 additions and 47 deletions
@@ -29,10 +29,13 @@
action:
- variables:
lights:
- light.indkorsel_2
- light.extended_color_light_1
- light.garage
lights: >
{% set base = ['light.indkorsel_2', 'light.garage'] %}
{% if now().isocalendar()[1] >= 42 or now().isocalendar()[1] <= 8 %}
{{ (base + ['light.extended_color_light_1']) | list }}
{% else %}
{{ base }}
{% endif %}
lights_to_turn_on: >
{{ lights | select('is_state','off') | list }}