Skip to content
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

Home Assistant 2023.8.0 introduced some naming change requirements for MQTT entitites #18502

Closed
xconverge opened this issue Aug 2, 2023 · 4 comments
Labels
problem Something isn't working

Comments

@xconverge
Copy link
Contributor

xconverge commented Aug 2, 2023

What happened?

"Discovered entities with a name that starts with the device name

Some MQTT entities have an entity name that starts with the device name. This is not expected. To avoid a duplicate name the device name prefix is stripped of the entity name as a work-a-round. Please inform the maintainer of the software application that supplies the affected entities to fix this issue. "

image

I think this is the relevant change, will edit it if this isn't right: home-assistant/core#95159

Apologies if this is not a zigbee2mqtt issue I will close it if so, thanks

What did you expect to happen?

No warning

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.32.2

Adapter firmware version

7.3.1.0 build 176

Adapter

skyconnect

Debug log

No response

@xconverge xconverge added the problem Something isn't working label Aug 2, 2023
@olafz
Copy link

olafz commented Aug 2, 2023

I think this is the relevant change, will edit it if this isn't right: home-assistant/core#95159

I think it is. I run into the same issue, and the changelog for version 2023.8.0 refers to PR mentioned before and the following explanation:

image

@schlamar
Copy link

schlamar commented Aug 2, 2023

Duplicate of #18445

@xconverge
Copy link
Contributor Author

Closing now that dupe was identified

@KaportsevIA
Copy link

I have Zigbee2MQTT and 2 gateway SLS (slsys.io) in Direct2MQTT Mode (without Z2M). Devices which connected to SLS-MQTT nothave problem with Naming. Only one device connected to Z2M - have problem

Обнаруженные объекты с именем, начинающимся с имени устройства
Это приведет к неисправностям в версии 2024.2.0. Пожалуйста, устраните эту проблему перед обновлением.
Некоторые объекты MQTT имеют имя, начинающееся с имени устройства. Это не предусмотрено. Во избежание задвоения имени префикс имени устройства удаляется из имени объекта. Пожалуйста, сообщите разработчику программного приложения, поставляющего соответствующие объекты, о необходимости устранения этой проблемы.

Список затронутых объектов:

sensor.0x00158d0006ba8b3e_power_outage_count
switch.0x00158d0006ba8b3e_l1
switch.0x00158d0006ba8b3e_interlock
switch.0x00158d0006ba8b3e_power_outage_memory
sensor.0x00158d0006ba8b3e_device_temperature
sensor.0x00158d0006ba8b3e_current
switch.0x00158d0006ba8b3e_l2
sensor.0x00158d0006ba8b3e_energy
sensor.0x00158d0006ba8b3e_power
sensor.0x00158d0006ba8b3e_voltage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants