Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95563

Use sun elevation with Times of the Day Binary Sensor (TOD)

$
0
0

@dantist wrote:

Reading the documentation I saw that you can use the elevation of the sun as a trigger:

  trigger:
    platform: numeric_state
    entity_id: sun.sun
    value_template: "{{ state_attr('sun.sun', 'elevation') }}"
    below: 3.5

Is it possible to do this in a tod sensor as well? I know you can use offsets for sunset and sunrise, but the elevation would be more useful in my case.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95563

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>