-
-
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
Override Entity ('NoneType' object has no attribute 'state') does not exist. #212
Comments
Did you check the spelling of those entities? If they dont have a state at start up that might cause this error to be shown as well. |
I copied and pasted the entities into Developer States and each one is correct. Then I tested each one individually in EC by "#" two at a time, rebooting HA and checking logs. No warning when only one is listed. Then tried 1 & 2, 2 & 3 and 1 & 3, restarted HA and each of those combos created the warning. EC does work though and correctly changes to Overriden when any of those overrides are turned on. Strange...
Get BlueMail for Android<http://www.bluemail.me/r?b=16117>
On Oct. 30, 2020, at 7:36 p.m., Daniel Mason <[email protected]<mailto:[email protected]>> wrote:
Did you check the spelling of those entities? If they dont have a state at start up that might cause this error to be shown as well.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#212 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AL4JU3IKD3NYJZ6U5YTRCODSNNZ4HANCNFSM4TFQIP3Q>.
|
Here is where/when the error is logged:
It looks like the problem might be the state change from old=None following the set up of the entity by HA? Is it possible for entity_controller to wait for the states to become available in HA? |
Can you check the revision history if something was accidentally deleted? I'm sure it used to check if old is none at some point. |
I reviewed the change log back to inception and the only thing similar is: |
EC is not broken by this... Just like cleaning up errors! |
Feel free to clean it up and submit a PR. Happy to merge it, if the error is misleading |
I will, time permitting and if I can figure it out! |
'Is it possible for entity_controller to wait for the states to become available in HA?' That, and the lack of templating ... |
Hi Paul, I've hit a roadblock implementing templates and haven't been able to get any help from the community. There is some added complexity involved. Haven't looked at waiting for states to become available. You could add the "unavailable" state to be detected as "off". I think it's called custom state strings in the docs. |
<<< Override Entity ('NoneType' object has no attribute 'state') does not exist >>>
Description
The entity for my fireplace light control has three override entities via the
overrides:
entry.This seems to create an error in HA logs at startup.
Configuration
Steps to reproduce
Steps to reproduce the behavior:
overrides:
Expected behavior
This is how the component should work:
Actual Behaviour
This is what actually happened:
Logs
Version
The text was updated successfully, but these errors were encountered: