Error parsing value: 'value_json' is undefined (value: disarmed, template: {{ value_json.RfReceived.Data }})

my log has lots of entries for

</s> <s>Error parsing value: 'value_json' is undefined (value: disarmed, template: {{ value_json.RfReceived.Data }})</s> <s>

which from value: disarmed I’m assuming is linked to a previous attempt to setup an alarm control panel that interacted with a sonoff bridge via mqtt to control the physical alarm system in my house however ended up using a mqtt lock template as it gave me everything i needed so all references to alarm_control_panel were removed from my config yaml but i’m still seeing the error?

anyone have any ideas?

Edit: found it, was a random retained message in mosquitto

The value received is not in JSON format. Proper JSON format would be {"value":"disarmed"}.

2 Likes

Hey @Toddstar! Could you provide step by step instruction how did you fix this issue?