Hi,
I have an entity that provides me the current value of my water meter but is a an input number. In order to use it in the Energy dashboard I convert it to a template sensor.
- name: "Template Water Consumption (Total)"
unit_of_measurement: "m³"
state: "{{ states('input_number.water_consumption_total')|float / 1000 }}"
unique_id: "template_water_consumption_total"
device_class: water
state_class: total_increasing
The template sensor is shown in the list of entities. For the gas consumption this setup worked very well but in this case it does not show up when I try to add a water source.
Anyone has an idea what is missing here?
Thanks in advance
Jan