-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
EC sometimes enters blocked state #310
Comments
It seems that this issue happens every time one of the controlled entities turn on is delayed. Of the four 4 entities I have controlled here, it's not always the same one which is 5 seconds late. |
Looks like a duration sensor that you have. |
I’m having similar challenges |
I recently started suffering from the same problem, and it took me a while to figure out the cause. HOWEVER : in the docs it is said 'Unfortunately, it is not possible to detect who called a service in Home Assistant. If that was the case we could simply ignore any service calls originating from EC itself.' As far as I can see this has not been true for quite some time already, as in the logs one can clearly see what/who made a sensor go active, e.g. which entity_controller entity triggered it. |
I have been seeing the same problem lately. #193 seems to have addressed grace_period already so that probably isn't the cause. |
Good find ! But it raises the question why this parameter still is being accepted (and used ?) without warning, despite being 'deprecated' years ago - and why the documentation still mentions it, as well as the reason for its creation ... Could it be that the solution mentioned in #193 is no longer working or at least occasionally fails, and should be brought up to date - as on several occasions has happened to other parts of EC ? |
All these suggestions sound great, anything to improve the component, make it more reliable or clean up redundant code/features. If anyone would like to have a crask at this id be happy to review a pr. |
Description
Sometimes after the timer expires, EC enters blocked state and the lights remain on. This doesn't happen every time, and I can't tell what causes it.
Configuration
Steps to reproduce
Expected behavior
active_timer
idle
Actual Behaviour
active_timer
for 5 secondsblocked
and lights stay on foreverLogs
I realize this log snippet only includes 14 seconds of activity, while my delay is set for 120s. Nothing else is logged for several minutes, this is actually the end.
Version
I'm using Home Assistant 2023.10.5 but I noticed the same issue on 2023.9.
The text was updated successfully, but these errors were encountered: