I am sorry, I know this specific question has been asked numerous times before. I did try to compare my code with other existing posts, but can’t get it to work.
template:
- sensor:
- name: watermeter_toonwater
unique_id: watermeter_toonwater
device_class: water
unit_of_measurement: "m³"
state: >-
{{states.sensor.watermeter.attributes["waterquantity"] |float /1000}}
state_class: total_increasing
I also tried unit_of_measurement: m³ (without the double quotes), doesn’t help.
I think this sensor is ticking all required boxes to show in the Enery Dashboard and listed under water sensorsm but it doesnt. Below is a screenshot of the entity state, please help