Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - platform: template
- sensors:
- sun_angle_with_cloudiness:
- friendly_name: "Cloud adjusted sun angle"
- unit_of_measurement: 'grader'
- value_template: >-
- {{ (states.sun.sun.attributes.elevation | float) - (states.sensor.dark_sky_cloud_coverage.state | float / 20) }}
- # The figure which is "20" above? The higher it is, the less cloud coverage adjusts sun angle.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement