You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But with Jinjava, I get com.hubspot.jinjava.interpret.FatalTemplateErrorsException: Invalid argument in 'in': 1st argument with value 'name,event_type' must be iterable
I couldn't find the source in Jinja, but I presume somewhere it implicitly turns non-iterables into a list.
The text was updated successfully, but these errors were encountered:
ccutrer
added a commit
to ccutrer/zigbee2mqtt
that referenced
this issue
Dec 12, 2024
Jinjava (the Jinja implementation openHAB uses) has an issue with
a string as the third parameter to `rejectattr` (see HubSpot/jinjava#1227).
Passing a tuple works around the issue, and is still compatible with Home Assistant's
reference Python implementation.
The following works in Jinja2:
But with Jinjava, I get
com.hubspot.jinjava.interpret.FatalTemplateErrorsException: Invalid argument in 'in': 1st argument with value 'name,event_type' must be iterable
I couldn't find the source in Jinja, but I presume somewhere it implicitly turns non-iterables into a list.
The text was updated successfully, but these errors were encountered: