Hi guys,
I know there has been some topics already, but none of them addresses the same issue.
I keep getting this error in logs:
Error parsing value: ‘value_json’ is undefined (value: ON, template: {{ value_json.POWER }})
I’m using sonoff with tasmota and this is the config I’m using in configuration.yaml:
- platform: mqtt
name: Left kitchen light
state_topic: “stat/kitchen1/POWER”
state_value_template: “{{ value_json.POWER }}”
command_topic: “cmnd/kitchen1/POWER”
payload_on: “ON”
payload_off: “OFF”
retain: true
I might be just missing a space somewhere or something I just can/t seem to comprehend it.
Thanks for your help in advance, and I’m sorry if the question seems stupid to the experts
Regards, Jure