Hello, i can see in logs the following warnings. Is there any solution to this? Thanks
Source: helpers/template.py:2345
First occurred: February 11, 2024 at 5:00:23 PM (1069 occurrences)
Last logged: 9:14:24 AM
Template variable warning: 'dict object' has no attribute 'disc' when rendering '{{ value_json.disc }}'
Template variable warning: 'dict object' has no attribute 'ohdisc' when rendering '{{ value_json.ohdisc }}'
Template variable warning: 'dict object' has no attribute 'enablecrc' when rendering '{{ value_json.enablecrc }}'
Template variable warning: 'dict object' has no attribute 'invertiq' when rendering '{{ value_json.invertiq }}'
Template variable warning: 'dict object' has no attribute 'onlyknown' when rendering '{{ value_json.onlyknown }}'
Yes HA logs.
HA 2024.2 version and v1.6.0 OMG (i couldn’t make v1.7.0 work at my TTGO LoRa32 868Mhz ESP32 LoRa chip V2.1-1.6 which i successfully made it work with 1.6.0 OMG as i said there → V2.1-1.6 )
I was able to capture one of the spurious JSON packets that generates a warning in Home Assistant. It contains non-printable characters shown as hex data.
I think this packet is just random noise or junk received from a distant Lora module.
To prevent these packets from generating warnings in Home Assistant, simply enable “Only Known” in the Web UI or Home Assistant Lora device controls.