ical-sensor-homeassistant icon indicating copy to clipboard operation
ical-sensor-homeassistant copied to clipboard

[FEATURE REQ] Ability to adjust sensor "update" time

Open CaptainSweatpants opened this issue 3 years ago • 0 comments

The default update time is the start of the next day (midnight). But unfortunately trying to set automations today for automations tomorrow cant be set until the next days sensor update.

example. I have a daily changing schedule every day. some days have 3 events, others have 7. So, when i pull today/tomorrow events, i get the usual sensor.ical_cal_0 , 01, 02, etc. So, tomorrow's first event of the day might end up being sensor.ical_cal_6 so any attempt at setting any automation today for tomorrow's first sensor event won't work; because at midnight sensor 06 becomes sensor_0.

if i could manually set the "update time" to something like 6hrs, 12hrs, 18hrs etc i could run automations at a time where i know sensor_0 is the first one in the list and all events for today are finished.

i could template the hell out of it, but a manual update function would be much easier.

CaptainSweatpants avatar Sep 24 '21 01:09 CaptainSweatpants