Many Template variable warnings

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 }}'

These are Home Assistant logs ?

Could you share the version of OMG and HA version please?

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’m seeing the same warnings in my Home Assistant log with v1.7.0 installed.
They occur around 10 times a day.

2024-05-30 09:57:34.148 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'enablecrc' when rendering '{{ value_json.enablecrc }}'
2024-05-30 09:57:34.150 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'invertiq' when rendering '{{ value_json.invertiq }}'
2024-05-30 09:57:34.151 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'onlyknown' when rendering '{{ value_json.onlyknown }}'

Using MQTT Explorer in HA, I see 99% of the packets look fine:

{"frequency":915000000,"txpower":14,"spreadingfactor":7,"signalbandwidth":125000,"codingrate":5,"preamblelength":8,"syncword":"0x12","enablecrc":true,"invertiq":false,"onlyknown":false}

Apparently, an occasional packet is missing values for “invertiq”, “enablecrc”, and “onlyknown”