Skip to content

First stab at fixing MQTT topic paths for HA discovery in 2023.8+#170

Open
aarontc wants to merge 1 commit intodchesterton:mainfrom
aarontc:bugfix/mqtt-path-prefixes-for-homeassistant-2023.8
Open

First stab at fixing MQTT topic paths for HA discovery in 2023.8+#170
aarontc wants to merge 1 commit intodchesterton:mainfrom
aarontc:bugfix/mqtt-path-prefixes-for-homeassistant-2023.8

Conversation

@aarontc
Copy link
Copy Markdown

@aarontc aarontc commented Oct 8, 2023

HomeAssistant 2023.8 changed the naming requirements for MQTT entities - entity names can no longer contain the device name. This means multiple entities might have the same name if you have multiple instances of the same device type, and they will clobber each other with the existing discovery topic naming scheme. This change inserts the host into the discovery topic name to avoid the clobbering.

HomeAssistant 2023.8 changed the naming requirements for MQTT entities -
entity names can no longer contain the device name. This means multiple
entities might have the same name if you have multiple instances of the
same device type, and they will clobber each other with the existing
discovery topic naming scheme. This change inserts the host into the
discovery topic name to avoid the clobbering.
@dar72
Copy link
Copy Markdown

dar72 commented Jan 5, 2024

Can this be merged? Homeassistant discovery is currently broken without it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants