@Klagio wrote:
Hi I have this REST data
“emeters”:[{“power”:811.25,“reactive”:-507.50,“voltage”:227.16,“is_valid”:true,“total”:2264.8,“total_returned”:0.0},
using this REST sensor I able to get the ENERGY value but its in Wh, I need KWh.
Please help in how to change the template
- platform: rest resource: http://192.168.1.150/status name: Potenza Generale Consumata value_template: '{{ value_json.emeters[0]["total"] }}' scan_interval: 10 unit_of_measurement: "KWh"
Posts: 3
Participants: 2