Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% set sunaz = state_attr('sun.sun', 'azimuth',) %}
- {% if ( sunaz <= 22) %}
- Nord
- {% elif ( sunaz <= 67) %}
- Nordøst
- {% elif ( sunaz <= 112) %}
- Øst
- {% elif ( sunaz <= 158) %}
- Sydøst
- {% elif ( sunaz <= 202) %}
- Syd
- {% elif ( sunaz <= 218) %}
- Sydvest
- {% elif ( sunaz <= 262) %}
- Vest
- {% elif ( sunaz <= 338) %}
- Nordvest
- {% elif ( sunaz <= 360) %}
- Nord
- {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement