Anrolosia / Shopping-List-with-Grocy

A Shopping list integration with Grocy for Home Assistant
MIT License
41 stars 1 forks source link

Home Assistant template error #17

Closed rachaelbond closed 1 year ago

rachaelbond commented 1 year ago

Hi @Anrolosia !

This error has been showing in my HA logs:

Logger: homeassistant.helpers.template Source: helpers/template.py:625 First occurred: 6 April 2023 at 16:32:03 (58 occurrences) Last logged: 11:31:35

Template variable error: 'value_json' is undefined when rendering '{{ value_json.qty_in_shopping_list }}'

Any ideas?

Anrolosia commented 1 year ago

Hey @rachaelbond This happens when a product is deleted through mqtt, after doing the update to 0.5.0, we all had a bunch of those errors. It shouldn't happen in a regular usage. Thanks

rachaelbond commented 1 year ago

Thanks, @Anrolosia ! There didn't seem to be any bad juju going on, but I upgraded HA yesterday and wondered if there was some sort of breaking change we didn't know about :-/