-
-
Notifications
You must be signed in to change notification settings - Fork 31.3k
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
Entity sensor XXX cannot be added as the entity category is set to config #103192
Comments
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) sensor documentation |
Hey there @emontnemery, @jbouwh, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) mqtt documentation |
Changes to enforce validation were added to the sensor base class. Solution is setting the entity category to |
home-assistant/home-assistant.io#29651 May be this change (#101471) should have been a breaking change. |
Thanks, I removed the sensors manually. |
I will open a PR to ensure the error handling is correct. That PR will close this issue when it is merged. |
With the correct warning (in 2023.11), the behavior is effectively breaking some integrations (some custom integrations at least, see kamaradclimber/heishamon-homeassistant#163). I think it would have deserved a breaking change mention because setting an entity as config was a legitimate understanding of the documentation (I understand doc has been updated to be clearer 👍 ) |
Am sorry this was not added to the patch release. But a fix will be added to HA Core 2023.12 |
The problem
Smart plug (with power monitoring) (TS011F_plug_1) by TuYa
After updating 2023.10.5 to 2023.11.0, “sensor” magically turned into “select”, but both remained in HA. What to do about it now?
What version of Home Assistant Core has the issue?
2023.11.0
What was the last working version of Home Assistant Core?
2023.10.5
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Sensor
Link to integration documentation on our website
https://www.home-assistant.io/integrations/sensor
Diagnostics information
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
https://www.home-assistant.io/integrations/mqtt
The text was updated successfully, but these errors were encountered: