Log gets a new entry every 200ms about a Home Assistant ChannelTransformation template issue

Hello,

I get a new message in the log every 200ms that states this:

[WARN ] [al.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/0xabcdef12345abcde/update failed: Cannot find method get with 2 parameters in class com.hubspot.jinjava.objects.collections.SizeLimitingPyMap (class com.hubspot.jinjava.interpret.FatalTemplateErrorsException)

It’s quite annoying as its filling the log so fast, I can’t see anything else.
I had look at the item indicated by the abcdef12345abcde and it’s one that was automatically created by the HomeAssistant MQTT discovery.
Inside its “MQTT configuration topic”, I see the update/0xabcdef12345abcde/update element, and removing it made the issue disappear.
But I’m wondering if there isn’t a risk of it coming back later on. And maybe there is something to be changed in the HomeAssistant binding?

  • Platform information:
    • Hardware: x86_64
    • OS: Manjaro Linux
    • Java Runtime Environment: 17.0.15
    • openHAB version:4.3.5

This is fixed in 5.0, as it uses a different approach and no longer uses jinjava.

Do we need to remove and recreate the Things? I’m seeing a different but somewhat related error but haven’t had a chance to look into it.