Midyr2
(Midyr2)
1
Hello,
I'm new to HA, so I may have misunderstood something.
I'm looking for a simple way to control roller shutters and lighting based on the sun's position (at dusk or similar), not just after sunset.
I've seen something like this in a few documentation guides, but I can't find a configuration option for it in my setup.
Thanks
Midyr2
(Midyr2)
3
OK,
I found it sun as devices.
I open my blinds when the sun is past the windows:
triggers:
- trigger: numeric_state
entity_id:
- sun.sun
attribute: azimuth
above: 170
conditions:
- condition: numeric_state
entity_id: cover.living_room_blinds
attribute: current_position
below: 90
enabled: false
- condition: numeric_state
entity_id: zone.home
above: 0
actions:
- action: cover.open_cover
metadata: {}
data: {}
target:
entity_id: cover.living_room_blinds