Replies: 1 comment
|
Hi @vasileio, First, sorry this sat unanswered for a while, I had discussions turned off and I am only now catching up :/ Thank you for the clear write-up, and for actually digging through the code before posting, that makes this so much easier to reason about. Your read is correct: production comes straight from the Home Assistant energy preferences, and there is currently no per-card way to exclude one solar source while keeping it in the dashboard. Your use case makes complete sense though, a decommissioned array you keep only so your long-term totals stay whole should not have to show up in the scene. I think a per-card option to exclude specific solar sources from what Helios draws (and from its production total) is the right way to solve this, without ever touching your Energy dashboard config. Thanks again for the thoughtful report. Cheers ;) ReikanYsora / Jérôme |
Uh oh!
There was an error while loading. Please reload this page.
So I've got two solar entries in my HA Energy dashboard. My actual current array, and an imported historical series from my old array that gota decommissioned. I want to keep the old one in the Energy dashboard so my long term history and totals don't get a hole in them, but I don't want Helios drawing it.
Had a dig through the code and it looks like production comes straight from energy/get_prefs (parseEnergyPrefs in energy-prefs.ts) and theres no per card override for it. The only solar-ish config key is solar-irradiance-entity which is the sky/irradiance thing, not production. So right now my only option is to yank the old array out of the Energy dashboard, which also nukes it from the dashboards own history. Which is the one thing im trying not to do.
Where it actually bites is scrubbing back into the old days, refreshPv sums the change series over all the solar meters so the production curve counts both arrays for that period. Today/live is fine cause the old one just reads zero.
Any chance of a card level opt out? Either something like exclude-solar-stats: [sensor.old_array] that gets filtered out after the prefs parse, or a solar-sources allowlist that overrides the auto detected list when you set it. The exclude one feels simpler and keeps the zero config default for everyone who doesnt care.
Happy to have a go at a PR if its something youd take.
All reactions