Use node_id in unique_id and mqtt topics#16
Conversation
|
Looks Great! Thanks. |
|
I think it was due to one of your prior merged PRs. But I'm noticing that my boot_count, activity_count, and boot_reason stats are no longer being updated in HASS. The values in MQTT seem to be correct. Are you having this same issue or is it something with my setup? |
|
I had this problem once when there were a leftover device inside HA. I had to delete it with the three dots next to "MQTT Info", then restart the homeplate and reenable the diagnostic sensors. |
|
Combining works fine usually. It looks like HA somehow swallowed the setup topic for this sensor. Try deleting the device and restart HA. (I see that all the disabled sensors are missing, are they visible in the diagnostics tab, maybe under the hidden version?) |
|
I thing the "MQTT INFO" button should still show that data for debugging purposes, especially if it can show it with a disabled annotation.... |




This patch makes use of the MQTT_NODE_ID and MQTT_DEVICE_NAME values to form unique mqtt topics so there can be multiple devices at the same time.