hi I’ve downloaded sun2 but would like to update the sun elevation more frequent, it updates automatically just over every 4 minutes, I want it to reload every 30 seconds instead, is this possible?
You can try to use the sun2.reload and automate this
pnbruckner/ha-sun2: Home Assistant Sun2 Sensor
Thanks, how would I do this, sorry for the newb question
Try this instead, it is meant to poll for data. If it does not work then go for more drastic measures.
action: homeassistant.update_entity
data:
entity_id:
- sensor.your_azimuth_sensor
You can add the above ‘action’ to a automation, but try first via above if the entity-update or the reload actually does update things
EDiT, e.g.for geoJson this does not work
It seems to
1 Like
thanks for the help, that sorted it to update every 30 seconds when sun2 elevation is below 3.1 degrees then stops refreshing every 30 seconds when reaches 2.5 degrees