Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(openhab): Fix rejectattr argument in event value_template #25179

Merged
merged 2 commits into from
Dec 13, 2024

Conversation

ccutrer
Copy link
Contributor

@ccutrer ccutrer commented 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.

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.
@Koenkk Koenkk enabled auto-merge (squash) December 13, 2024 19:40
@Koenkk Koenkk merged commit 08ac795 into Koenkk:dev Dec 13, 2024
11 checks passed
@Sabrina902-prog
Copy link

Ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants