#energy-devices-graph does not honor upstream meter data - shows wrong data
1 messages · Page 1 of 1 (latest)
That's correct, the hierarchy information is not used there.
You know why? It feels wrong. As energy seems duplicated.
I could try to create a PR to make the hierarchy information used
I did at one point kinda float a PR for that but the maintainers seemed disinterested.
Oh this PR looks nice. I have the impression the maintainers would accept a PR that would change the bar size to the untracked part only.
~~How did you develop your approach @stuck haven ? are they testdata available for this? I see you only changed the .ts file.
Its a lot of logic there to follow ... or do you have a tip for me to get starting?~~
sorry for asking, answer is here: https://developers.home-assistant.io/docs/frontend/development/
I'm not sure if it makes more sense to show the whole part, or only the untracked part. I think you're going to make someone unhappy either way.
There's not a whole lot of test data by default, I ended up just making some of my own with templates and inserting external statistics.
which is weird because of the inconsistency between the upper and lower card
Yeah a little bit inconsistent is true. It's necessary in the upper card because all the columns are implicitly summed together to get a total, which should be the correct total.
In my head and my example above, i had difficulties wraping my head around why the basement light should have used 4.17 kWh when just visually i could confirm from the upper chart that it must be way less
Your basement light has downstream devices? Kind of odd for a light.
That's the name inside of the fusebox for the fuse for all of the basement.
And yes i have downstream devices from that fuse: f.e. freezer, air dryer, tumbler, washing mashine and a server rack
Yeah that makes sense. I would have just named it basement circuit or something, and then it would be clear that it's for everything.
But I see what you're saying.
Like if you had named it basement circuit, it might be a little unexpected that the bar was showing only the power for the light.
But I don't have all the answers, and it's not my call to make anyway 😁
🙂 good to talk this through with someone to have another perspective.
I'd be cool actually with the basement circuit to be small, when i see the freezer, the server etc. listed seperately as their own bars as well
If you like to try to make a PR, go for it. Can't say how it will go though.
Or you can make a feature request, try to solicit some more opinions. There may be one already.