Garageport animation, fjern alarm 1899, baghave lys vintersæson uge 42-8
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user