Skip to content

[mqtt.homassistant] com.hubspot.jinjava.interpret.FatalTemplateErrorsException #18219

@miwok72

Description

@miwok72

since the update of zigbee2mqtt from 2.0.0 to 2.1.0 i have many of the following messages in openhab.log:

2025-02-02 19:15:58.201 [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') }}} for component update/0xec1bbdfffe70ad72/update failed: Cannot find method get with 2 parameters in class com.hubspot.jinjava.objects.collections.SizeLimitingPyMap (class com.hubspot.jinjava.interpret.FatalTemplateErrorsException)
2025-02-02 19:15:58.705 [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') }}} for component update/0xec1bbdfffe70ad72/update failed: Cannot find method get with 2 parameters in class com.hubspot.jinjava.objects.collections.SizeLimitingPyMap (class com.hubspot.jinjava.interpret.FatalTemplateErrorsException)
2025-02-02 19:15:59.209 [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') }}} for component update/0xec1bbdfffe70ad72/update failed: Cannot find method get with 2 parameters in class com.hubspot.jinjava.objects.collections.SizeLimitingPyMap (class com.hubspot.jinjava.interpret.FatalTemplateErrorsException)
2025-02-02 19:15:59.814 [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') }}} for component update/0xec1bbdfffe70ad72/update failed: Cannot find method get with 2 parameters in class com.hubspot.jinjava.objects.collections.SizeLimitingPyMap (class com.hubspot.jinjava.interpret.FatalTemplateErrorsException)

it is probably related to the following change in zigbee2mqtt:

Koenkk/zigbee2mqtt#25632

Your Environment

  • Version used: OH 4.3.2 zigbee2mqtt: 2.1.0
 runtimeInfo:
  version: 4.3.2
  buildString: Release Build
locale: de-AT
systemInfo:
  configFolder: /etc/openhab
  userdataFolder: /var/lib/openhab
  logFolder: /var/log/openhab
  javaVersion: 17.0.14
  javaVendor: Azul Systems, Inc.
  javaVendorVersion: Zulu17.56+15-CA
  osName: Linux
  osVersion: 5.15.0-130-generic
  osArchitecture: amd64
  availableProcessors: 4
  freeMemory: 213005480
  totalMemory: 901775360
  uptime: 903399
  startLevel: 100
addons:
  - automation-jsscripting
  - binding-airquality
  - binding-androidtv
  - binding-astro
  - binding-avmfritz
  - binding-chromecast
  - binding-exec
  - binding-fineoffsetweatherstation
  - binding-homematic
  - binding-icalendar
  - binding-ipcamera
  - binding-ipp
  - binding-jeelink
  - binding-logreader
  - binding-mail
  - binding-modbus
  - binding-mqtt
  - binding-network
  - binding-networkupstools
  - binding-ntp
  - binding-openweathermap
  - binding-snmp
  - binding-systeminfo
  - binding-telegram
  - binding-tr064
  - binding-upnpcontrol
  - persistence-influxdb
  - persistence-mapdb
  - transformation-exec
  - transformation-jinja
  - transformation-jsonpath
  - transformation-map
  - transformation-regex
  - ui-basic
clientInfo:
  device:
    ios: false
    android: false
    androidChrome: false
    desktop: true
    iphone: false
    ipod: false
    ipad: false
    edge: false
    ie: false
    firefox: false
    macos: false
    windows: true
    cordova: false
    phonegap: false
    electron: false
    nwjs: false
    webView: false
    webview: false
    standalone: false
    os: windows
    pixelRatio: 1
    prefersColorScheme: light
  isSecureContext: false
  locationbarVisible: true
  menubarVisible: true
  navigator:
    cookieEnabled: true
    deviceMemory: N/A
    hardwareConcurrency: 8
    language: de-AT
    languages:
      - de-AT
      - de
      - en
    onLine: true
    platform: Win32
  screen:
    width: 2560
    height: 1440
    colorDepth: 24
  support:
    touch: false
    pointerEvents: true
    observer: true
    passiveListener: true
    gestures: false
    intersectionObserver: true
  themeOptions:
    dark: dark
    filled: true
    pageTransitionAnimation: default
    bars: light
    homeNavbar: default
    homeBackground: default
    expandableCardAnimation: default
    blocklyRenderer: geras
  userAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
    like Gecko) Chrome/132.0.0.0 Safari/537.36
timestamp: 2025-02-02T18:25:34.500Z

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn unexpected problem or unintended behavior of an add-on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions