so that I can see how many watts are being used - to base n automation that will tell me when my washing machine has finished.
I get told that the sensor is unavailable, and in the template editor I get this error
Error rendering template: UndefinedError: ‘value_json’ is undefined
I’m probably muissing something really obvioius and or simpl but I’ve spent days pulliing my hair out over this. can’t get it to to work. Other than the above error I see none anywhere else.
the value template being commented out was an accident, it’s been fixed, but had no impact one way or the other. I don’t see anything puplished to tele/SNF_Washer/SENSOR. I do however have things being published to SNF-Washer/tele/SENSOR
Should that be an underscore or a hyphen between SNF and Washer? You used an underscore here and a hyphen in the sensor’s configuration. Which character is the correct one for the MQTT topic?