Scheduler card/custom component

@neliss Hi, suddenly the component doesn’t work with my installation. It worked this morning (my alarm scene fired off at 08.00) but after around 1-2 hours I noticed it said the card couldn’t connect to the Scheduler component. I then updated HA from 2022.5.2 to 2022.5.3 hoping it would solve it. Sadly it didn’t, also re-installing from HACS didn’t help. After restarting HA I noticed it came back very shortly and then was gone again. Log mentions this:

2022-05-11 11:18:40 INFO (MainThread) [homeassistant.components.switch] Setting up switch.scheduler
2022-05-11 11:18:40 WARNING (MainThread) [custom_components.scheduler.timer] failed to calculate next timeslot for schedule 4a413b
2022-05-11 11:18:40 WARNING (MainThread) [custom_components.scheduler.timer] failed to calculate next timeslot for schedule 4a413b

But nothing else mentions this component. In the past I noticed this issue very rarely, but refreshing the dashboard fixed it. Sou it was a front-end bug. But but it seems it’s a backend issue, since the log mentions it can’t calculate the next timeslot. The service calls of the component do work however. Using scheduler.run_action works.

Any idea what could be the issue and how to fix this / troubleshoot?