hansij66 / dsmr2mqtt

DSMR to MQTT; Smartmeter to MQTT; Slimme meter naar MQTT
GNU General Public License v3.0
9 stars 14 forks source link

Update hadiscovery.py for mqtt naming change #6

Closed ricko1 closed 11 months ago

ricko1 commented 1 year ago

Home assistant Version 2023.07.1 gives a warning. The online/offline status entity has the same name as the device. Unless it's updated it will break in version 2024.2.0 more info at https://developers.home-assistant.io/blog/2023-057-21-change-naming-mqtt-entities/

Warning in Home Assistant:

Discovered entities with a name that starts with the device name

This stops working in version 2024.2.0. Please address before upgrading.

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.

List of affected entities:

sensor.dsmr_reader

hansij66 commented 1 year ago

thanks for reporting. I will try to fox before 2024.2.0

On Fri, Aug 4, 2023 at 3:20 PM ricko1 @.***> wrote:

Home assistant Version 2023.07.1 gives a warning. The online/offline status entity has the same name as the device. Unless it's updated it will break in version 2024.2.0 more info at https://developers.home-assistant.io/blog/2023-057-21-change-naming-mqtt-entities/

Warning in Home Assistant:

Discovered entities with a name that starts with the device name

This stops working in version 2024.2.0. Please address before upgrading.

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.

List of affected entities:

sensor.dsmr_reader

You can view, comment on, or merge this pull request online at:

https://github.com/hansij66/dsmr2mqtt/pull/6 Commit Summary

File Changes

(1 file https://github.com/hansij66/dsmr2mqtt/pull/6/files)

Patch Links:

— Reply to this email directly, view it on GitHub https://github.com/hansij66/dsmr2mqtt/pull/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFFPZDZ77OO4BKBE6GK3MCDXTTZJDANCNFSM6AAAAAA3EGSZTA . You are receiving this because you are subscribed to this thread.Message ID: @.***>