@vormsty wrote:
Hello,
If I restart home assistant I have to set the state off covers according to the rel state.
If the time is after the 9:00 and befor sunset, the cover is oppen and I have to switches accordingly…
I have the event when the home assistant start, and I have to design a service_template for covers.
I have the first part of the equation:- service_template: > {% if states.sensor.time.state > '09:00' | timestamp_custom('%H:%M')%} and the missing part.... homeassistant.turn_on {% else %} homeassistant.turn_off {% endif %} entity_id: group.livingroom_covers
Many thanks for your help, it will be very appreciated!
Best regards
Thierry
Posts: 2
Participants: 2