[homeassistant.helpers.template] 'dict object' has no attribute 'click' when rendering '{{ value_json.click }}'

My log is flooded with this:

2021-10-31 10:38:49 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'click' when rendering '{{ value_json.click }}'

and this:

2021-10-31 07:55:35 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'temperature' when rendering '{{ value_json.temperature }}'

I got nothing else to go on, how can I fix it? It’s probably some breaking change somewhere, but how can I investigate without entity name, integration, anthing? Here’s the log. Thanks.

Add this to your configuration.yaml and restart HA:

logger:
  default: debug

You will get more meaningful error messages.

1 Like

I always forget to do this, thanks!

Still didn’t give me more than this:


Logger: homeassistant.helpers.template
Source: helpers/template.py:1612 
First occurred: 11:01:11 (42 occurrences) 
Last logged: 11:14:23

Template variable warning: 'dict object' has no attribute 'click' when rendering '{{ value_json.click }}'
Template variable warning: 'dict object' has no attribute 'action' when rendering '{{ value_json.action }}'
Template variable warning: 'dict object' has no attribute 'temperature' when rendering '{{ value_json.temperature }}'
Template variable warning: 'dict object' has no attribute 'timestamp' when rendering '{{ value_json.timestamp }}'
Template variable warning: 'entity_name' is undefined when rendering 'Alert {{ entity_name }} resolved'


Take a look at this-

It probably originated from deprecated click event.

Similar threads to your issue-

Thanks, I have four of these, yeah.