@pfertig wrote:
I’m attempting to use this sensor
- platform: mqtt name: "washer_watts" state_topic: "tele/SNF-Washer/SENSOR" # value_template: "{{value_json.energy['Power']}}" qos: 2 unit_of_measurement : "W" icon: mdi:flash-circle availability_topic: "tele/SNF-Washer/LWT" payload_available: "Online" payload_not_available: "Offline"
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 errorError 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.
Help Please.
Posts: 3
Participants: 3