Do you have any message into logs related to that sensor because it seems to be correct in term of requirements to have the entity selectable into the settings for energy dashboard ?
Just to be sure that all the values are passing correctly, cross-check in dev tools about the entity compteureau. You should see also state_class, device_class and unit.
About value 205133,0842 m3, i don’t know how to reset it to zero, it was because all my testings
Even if i set the state to 0 it always revert to this bad value.
why don’t you add sensor.compteur_eau to the dash… this resembles my setup,
Note that I am not sure too why the compteureau *is ‘off’ but this is not for me to analyse.
For now, i don’t have any real sensor for water and electricity. So i’d like to track my consumption manually, monthly. The only way i found is what i’ve linked in my first post.
So, each month, i can set the value of my real counter in HA.
But maybe there is another way to do that ?
I don’t understand why it’s working for electricity but not for water. Configuration is the same…
I do the same (also in France) but your compteur_eau should be sufficient the way I see it
EDIT, my sensor uses the input_number the same way, representing the values on the compteur.
repeating that I have no clue why compteureau (without underscore) is showing that but this is out of my response
Bon, je vais essayer comme tu le propose.
Tu sais comment je peut remettre à zero tous les compteur déja présent ?
C’est le grand n’importe quoi dans les valeurs
I’ve tried your setup with only input_number and sensor based on the input_number.
I’ve added them on the energy dashboard, setup some values but graph is empty.
So the sensor is accepted by the dashboard?
Then it will take up to two hours for values to appear probably only (cannot remember) after you first changed it.
Hey @vingerha, it’s working with only sensor 1 and 3 of my previous answer. Thanks a lot
But i have one last problem…
I’ve entered actual values of my counters into HA. So, actual consumption and cost are HUGE ^^
I don’t want to calculate how much i consumed each time i enter new values.
How can i do to only enter the new counters values and make HA only calculate the difference between now and the last values ?
That’s why i need to create a counter to only calculate the difference. This is that counter that i can choose for electricity but the water counter is unavailable in energy dashboard if i do that.
For example :
My actual real life counter for electricity is 90500
Next month it’s 90900
I’d like to have a input on my dashboard with 90500 and when i set it to 90900, only the difference, so 400 is reported as comsumption for the month.
I need to avoid those huge starting numbers (90500).
I don’t want to calculate each month 90900 - 90500 = 400.
It’s I guess because your first input was with 0 as value and then you enter the value 91500 as starting point.
The best is to go to dev_tools → statistic: modify the initial value of your entity manualy to replace 0 by 91499