-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
feat: Let Home Assistant generate entity name when device_class is present #18208
Conversation
I don't think so, home-assistant/core#95159 is not merged yet. Since you also experience this after a Z2M rollback I think it is caused by HA and not by Z2M |
sorry, I mean that when this PR is merged it will fix my issue as I see. I updated to 1.32.0 and all my entities are with _ and long names. Checking this PR and the old code I have renamed sensor device to "door sensor study" instead of "door_sensor_study" without HA renaming checkbox and now door sensor entities are shown as before. how can it be? now i rename it without underscores _ seems that doesnt like having _ with names, but was working fine until 1.32.0 |
Nothing has been changed regarding this with 1.32.0, if you want to debug this further I need to know the latest working z2m version. This pr might also fix your issue so maybe its not worth spending time on this. |
Is merged, HA beta is showing a warning, about the naming |
Updated the Add on of Zigbee2mqtt Edge, restart HA but the error message reappear. So it seems it is not fixed. |
Error message is linking to https://developers.home-assistant.io/blog/2023-057-21-change-naming-mqtt-entities/ |
Okay, I took a quick look at it. From the linked site
when looking at one of the entities with an MQTT explorer shows:
I see identifiers and name, but connection is missing
|
Let's continue in #18445 |
Merge after home-assistant/core#95159 is released