Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- motyle_oswietlenie_zmierzch_jesien_zima:
- alias: "Motyle - Oświetlenie - Zmierzch (Jesień - Zima)"
- sequence:
- - if:
- - condition: time
- after: "17:30:00"
- before: "19:10:00"
- - condition: template
- value_template: "{{ now().month in [1, 2, 3, 4, 9, 10, 11, 12] }}"
- then:
- - service: light.turn_on
- data:
- transition: 5
- brightness_pct: "{{ min(100, max(1149 - (now().hour*60 + now().minute), 0)) }}"
- kelvin: 6500
- target:
- entity_id: light.motyle_oswietlenie
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement