Hi, I have Cumulus MX sending mqtt messages to HA. It works for a few hours then suddenly:
Logger: homeassistant.helpers.template
Source: helpers/template.py:1378
First occurred: 7:19:56 (582 occurrences)
Last logged: 7:36:58
Template variable error: ‘value_json’ is undefined when rendering ‘{{ value_json.tempTA }}’
Template variable error: ‘value_json’ is undefined when rendering ‘{{ value_json.humidityOut }}’
Template variable error: ‘value_json’ is undefined when rendering ‘{{ value_json.humidityIn }}’
Template variable error: ‘value_json’ is undefined when rendering ‘{{ value_json.rainfall }}’
Template variable error: ‘value_json’ is undefined when rendering ‘{{ value_json.wgust }}’
My sensor configuration in configuration.yaml looks like this:
-
platform: mqtt
state_topic: “CumulusMX/Interval”
name: “VP2 temp out”
unit_of_measurement: “°C”
icon: mdi:temperature-celsius
value_template: ‘{{ value_json.tempOut }}’
Totally lost. Help appreciated!