Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
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 <notifications@github.com<mailto:notifications@github.com>> 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! |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

<<< 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