I’m working on integrating my electricity usage into Home Assistant using my local electricity company’s API, which only reports the previous day’s energy usage (GitHub - benrafshoon/hass_seattle_utilities: Home Assistant Integration for seattle utitlies). Every morning, the sensor reports the new “latest value” which is yesterday’s electricity usage. The result is that the energy dashboard show the electricity consumption shifted forward by one day: the data for “today” in the home assistant graph is actually yesterday’s energy usage, yesterday in the home assistant graph is 2-days-ago usage, etc. As far as I can tell, there’s no way to have a sensor report a value for a time other than right now.
Couple ideas
Allow sensors to report a “time delay” alongside their value
Allow sensors to report multiple historical data points
Also possible that this is already supported somehow and I missed it in the Sensor Entity API
Exactly the same scenario here. Getting delayed data, even 10’ updates for energy consumption including timestamp. I am finding no way to use this as a delayed sensor
How can we get traction on this feature request. I have now several sensors (mostly from utility companies) where data is not immediate, but rather delayed anywhere from a few hours to a couple of days.
With current setup, it is hard to have sensor reporting such data correctly.
Would the more expedient change be to allow backdating energy dashboard statistics based on a sensor, and leave the way the sensors themselves are implemented well enough alone? Whatever sorts this. The untracked energy usage recently implemented further complicates delayed data on the energy dashboard.