Automatically update Waste Collection Schedule after “x” hours #3627
-
Hey guys, is it possible to automatically update the sensors of Waste Collection Schedule after “x” hours, or when Home Assistant is started/restarted, so that the values of “value.date” and “value.daysTo” are correct? My Home Assistant is still “under construction” and is not yet running 24 hours a day - so I have the problem that the values of the sensors are not correct, as the time set under “Configure” is only an approximate time period to update the sensors. It would be nice if you could explain it very simply. I am still a complete newcomer to Home Assistant. Kind regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The source should fetch new events after a restart. And at the configured So if you did not change (description on source configuration settings) If you additionally want to manually trigger a refresh, you can run the |
Beta Was this translation helpful? Give feedback.
The source should fetch new events after a restart. And at the configured
fetch_time
(defaults to 1:00 AM) (offset by a random time smaller than the configuredrandom_fetch_time_offset
(defaults to 1h).So if you did not change
fetch_time
orrandom_fetch_time_offset
your sensors should update on reboot and once randomly between 0:00 and 2:00 AM(description on source configuration settings)
If you additionally want to manually trigger a refresh, you can run the
waste_collection_schedule.fetch_data
action, but this should generally not be necessary.