Open AndreasBoehm opened 1 month ago
As far as I can tell, the "breaking" part of this PR is not too big of a deal. The respective topics are the same, only the entities for HomeAssistant auto discovery change. Does this mean workflows or automation for DPL values break?
I need to re-test this as my home assistant installation is not working properly right now. I will let you know.
This is how it looks in mqtt explorer now.
This fixes https://github.com/helgeerbe/OpenDTU-OnBattery/issues/963 by including the unique id of a DTU in the topics.
NOTE: This is a breaking change for existing users, as the topics will change.
The changes are based on https://github.com/helgeerbe/OpenDTU-OnBattery/blob/f0df583c13394b0f5e59e363e5ac77788a2663eb/src/MqttHandleHass.cpp#L331