Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Times of the Day - after power back all are off not reactivated automatically #128865

Open
lebinho opened this issue Oct 20, 2024 · 3 comments
Open

Comments

@lebinho
Copy link

lebinho commented Oct 20, 2024

The problem

Today I was doing some decluttering in the office and needed to turn off my Home Assistant by unplugging it from socket without shutting down. During evening I've noticed that my office lamp that works based on Time of the day combined with presence sensor stopped triggering. I went to check if the presence is detected (yes, this works as a charm) so then checked the second condition variables and turned out that helpers are off all the time. I was under the impression that they should have restarted/reloaded themselves. But they are off all the time. Once I've reloaded one of them lamp went on.
Is this a bug ? If not anyone can guide me how to make them reload on for example hourly basis to make sure that they will always work ?
Zrzut ekranu 2024-10-20 223943

What version of Home Assistant Core has the issue?

core-2024.10.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Times of the Day

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tod

Diagnostics information

home-assistant_tod_2024-10-20T20-52-23.903Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

@gjohansson-ST
Copy link
Member

That seems indeed as sometihng that should work.
Can you provide some more details about one of them that didn't work and what was the time when you unplugged and replugged it?

@lebinho
Copy link
Author

lebinho commented Oct 21, 2024

None of them worked. What I can say tho, is that after updating the core when all were somehow "reloaded" so far they work ok. So still to prevent anything I would like to restart them but not experienced enough to know what should I do to reload them for example every 60 mins. This would allow me to make sure they should work correctly. Anyone can guide me ? Or at least point to a good example so I can learn and replicate logic ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants