Thanks guys, I will give that a go.
How would I adding to get blinds up after sundown into this?
Tried to move to Automations but cant find the heading sorry.
Personally, I’d do it with a separate automation. You could combine into one using templated actions, choose etc, but it’s likely you’ll want to make tweaks and add more complication: having separate simple automations makes this easier.
alias: Open Balcony Blinds
description: ""
trigger:
- platform: state
entity_id: sun.sun
to: "below_horizon"
action:
- device_id: xxxdadc5884904860f6437cef3aa1b
domain: cover
entity_id: cover.blind_lr
type: open
mode: single
The right approach is to close the blinds not with a time of day trigger, but a trigger of numeric state above 40000 for half an hour or some other specified time.
You don’t know the use case, though. It could be related to sun angle — regardless of the brightness, the sun might not come through the windows with the blinds until 2pm.
Agreed that time is probably not the prime metric though, and a combination of sun azimuth and elevation might be better, in conjunction with the illuminance reading.