openhab-addons/bundles/org.openhab.binding.mqtt.homeassistant/src
Cody Cutrer c6f2fca499
[mqtt.homeassistant] fix unbounded growth of config for device_trigger (#17894)
Because of how it shares a channel, whenever openHAB was rebooted and it
would first restore the device trigger components from the channel configuration,
and then from the MQTT message, it didn't identify it as the same component
as before, and so would merge into another instance of itself. My Things.json
is normally 13MB, and had grown to 545MB, and my openHAB was constantly having
memory issues! So now just make sure we only keep unique information, which
will automatically clean up anyone in a bad state.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2024-12-13 10:26:58 +01:00
..
main [mqtt.homeassistant] fix unbounded growth of config for device_trigger (#17894) 2024-12-13 10:26:58 +01:00
test [mqtt.homeassistant] Implement WaterHeater (#17859) 2024-12-07 16:34:05 +01:00