system_sensors icon indicating copy to clipboard operation
system_sensors copied to clipboard

Error 'dict object' has no attribute for disabled sensors

Open ilbagatta opened this issue 2 years ago • 0 comments

Hello,

I initially creted and starded the script with all the sensors configured. After a day I put "false" for load_1m, load_5m and load_15m and it started to write this warning in the log file.

2022-03-13 00:58:53 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'load_1m' when rendering '{{value_json.load_1m}}'

2022-03-13 00:58:53 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'load_5m' when rendering '{{value_json.load_5m}}'

2022-03-13 00:58:53 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'load_15m' when rendering '{{value_json.load_15m}}'

I tried to remove it from config_entity but nothing happens...

What can I do to remove this warning?

ilbagatta avatar Mar 13 '22 01:03 ilbagatta