Sonoff with mqtt config issue

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 :slight_smile:

Regards, Jure

Remove this line

state_value_template: “{{ value_json.POWER }}”

Wow, I’m not even sure anymore, what made me put that line there.

The issue has not come back to my logs, so I’ll presume its solved.

Thanks for the help, @Shu!

Regards, Jure