Hey everyone, I come from this thread:
https://community.openhab.org/t/problem-with-new-mqtt-home-assistent-channel-naming/161386
I seem to have stumbled on a few bugs with the mqtt auto discovery from HA, in particular with the climate component, but two others too:
First, the presets lack the “none” option. Prevents us from being able to turn off the boost mode for example, after turning it on.
The second issue I noticed is that it seems like there’s a mismatch between the “swing_step” function and the “swing_mode”. My ac has “swing_mode” but no “swing_step”. But for some reason the auto discovery maps “swing_step” and I am missing the mode function (which I do have).
The esphome binding for OpenHAB has these functions working as expected so I can confirm that my air conditioning units are capable of these functions, so I hope that the mqtt auto discovery can be improved.
The third was also discussed in the thread - items linked to auto discovered mqtt things and continuously unlinked from the channels they are linked to. Most of the time this happens after a reboot/restart but I’ve also awakened with several of my items unlinked for no apparent reason other than to spite me.
Final topic is that I see this in the logs:
(These are my Xiaomi ble temperature/humidity sensors flashed to use zigbee instead)
2025-04-24 00:40:31.006 [WARN ] [l.HomeAssistantChannelTransformation] - Applying template {"latest_version":"{{ value_json['update']['latest_version'] }}","installed_version":"{{ value_json['update']['installed_version'] }}","update_percentage":{{ value_json['update'].get('progress', 'null') }},"in_progress":{{ (value_json['update']['state'] == 'updating')|lower }}} for component update/0xa4c138221e8f4aba/update failed: Cannot find method get with 2 parameters in class com.hubspot.jinjava.objects.collections.SizeLimitingPyMap (class com.hubspot.jinjava.interpret.FatalTemplateErrorsException)
i dont have the json right now but ill grab it soon and update.
Hey everyone, I come from this thread:
https://community.openhab.org/t/problem-with-new-mqtt-home-assistent-channel-naming/161386
I seem to have stumbled on a few bugs with the mqtt auto discovery from HA, in particular with the climate component, but two others too:
First, the presets lack the “none” option. Prevents us from being able to turn off the boost mode for example, after turning it on.
The second issue I noticed is that it seems like there’s a mismatch between the “swing_step” function and the “swing_mode”. My ac has “swing_mode” but no “swing_step”. But for some reason the auto discovery maps “swing_step” and I am missing the mode function (which I do have).
The esphome binding for OpenHAB has these functions working as expected so I can confirm that my air conditioning units are capable of these functions, so I hope that the mqtt auto discovery can be improved.
The third was also discussed in the thread - items linked to auto discovered mqtt things and continuously unlinked from the channels they are linked to. Most of the time this happens after a reboot/restart but I’ve also awakened with several of my items unlinked for no apparent reason other than to spite me.
Final topic is that I see this in the logs:
(These are my Xiaomi ble temperature/humidity sensors flashed to use zigbee instead)
2025-04-24 00:40:31.006 [WARN ] [l.HomeAssistantChannelTransformation] - Applying template {"latest_version":"{{ value_json['update']['latest_version'] }}","installed_version":"{{ value_json['update']['installed_version'] }}","update_percentage":{{ value_json['update'].get('progress', 'null') }},"in_progress":{{ (value_json['update']['state'] == 'updating')|lower }}} for component update/0xa4c138221e8f4aba/update failed: Cannot find method get with 2 parameters in class com.hubspot.jinjava.objects.collections.SizeLimitingPyMap (class com.hubspot.jinjava.interpret.FatalTemplateErrorsException)
i dont have the json right now but ill grab it soon and update.