I use a mqtt sensor for measurements.
The mqtt works, i can read the value if i ssh to the raspberry
But hassio gives me a empty value??
What is wrong here?
- platform: mqtt
name: "LastUpdate"
state_topic: "DSMR-WS/DateTime"
unit_of_measurement: ""
value_template: "{{ value_json.DateTime }}"
- platform: mqtt
name: "Energy Delivered"
state_topic: "DSMR-WS/EnergyDel"
unit_of_measurement: "kWh"
value_template: "{{ value_json.EnergyDel }}"
- platform: mqtt
name: "Energy Returned"
state_topic: "DSMR-WS/EnergyRet"
unit_of_measurement: "kWh"
value_template: "{{ value_json.EnergyRet }}"
- platform: mqtt
name: "Power Delivered"
state_topic: "DSMR-WS/PowerDel"
unit_of_measurement: "kW"
value_template: "{{ value_PowerDel }}"