…The first cycle for each sensor, will be incomplete; a sensor tracking daily usage, will start to be accurate the next day after the integration was activated. A sensor tracking monthly usage, will present accurate data starting the first of the next month after being added to Home Assistant.
All those unnecessary commas make it sound like William Shatner is reading it in my head.
Not sure why you are getting Wh if your sensor is in kWh. It should use the unit of the sensor.
I read the doc, and I saw this. Makes sense, but makes the YEARLY value quite pointless. Waiting 9 month until I get a correct reading? C’mon.
Resetting ALL values is useful in some cases, but doesn’t help if I need to reset ALL at once. If you incidently do it during the year, you will need to wait til beginning of next year until you get correct readings.
It would make sense to let me set the value to a desired one. Like setting up your bike computer where you can enter the total mileage from the old one when you install the new one.
Or maybe I misunderstand the underlying ideas.
I came across this topic just yesterday. If you want to manually set your utility meter sensor value, you need to follow steps described here (last post by febalci)
Thanks krakers. Will try that. At least there’s a workaround. I contacted Diogo and maybe this funtionality can be added to the utility_meter. Seems I’m not the first one with this demand.
Sure Highly appreciated. That would be very helpful for all kind of needs.
Btw: If you’re looking at it: It seems the utility_meter does not take the UNIT from the underlying sensor.
Please note that “sensor.monthly_home energy” is the utiliity_meter, and the “float - 1250” is the correction which is subtract 1250 kWh from the utility_meter value. So use sensor.monthly_home_energy_corrected for any purpose. This is much easier for me than dealing with db itself. Also, the utility_meter has some bugs i believe, which results in jumps when you restart HA randomly. My utility_meter reads from Aoetec ZWave home energy monitor, but sometimes it jumps lets say from 1450 kWh to 5600 kWh for no obvious reason other than an HA resrtart. Whenever i see this i correct it with the template sensor above…
I know, but don’t like doing that this way. Prefer to change it once in DB and config/.storage/core.restore_state file once. Or by calling service if it will be made available.
Any idea IF it has been integrated yet, or when it should be there?
My problem I have right now is, that it looks like this:
In the meantime Shelly add-on switched to the (better) kWh, so it’s completely messed up.
How do I reinitialitze this? First remove those sensors and let them re-install so they pick up the correct “unit_of_measurement”?