Open RobertPro71 opened 1 month ago
I try to commit a fix in a branche, but no access :-(
if (solar.has) {
-- solar.state.toHome = (solar.state.total ?? 0) - (grid.state.toGrid ?? 0) - (battery.state.toBattery ?? 0); ++ solar.state.toHome = (solar.state.total ?? 0) + (solar.secondary.state.total ?? 0) - (grid.state.toGrid ?? 0) - (battery.state.toBattery ?? 0); }
according to my understanding the secondary state is NOT a second solar. The usecase is rather to display the total produced solar energy per day. In your case just use e.g. a home assistant helper to sum the two power states
Describe the bug I have two PV systems. One large and one small. If I add all the values together, then the value of the second solar system is missing. I have not found any hint in the readme.md that I can make an entry that the values are totalized.
Screenshots![image](https://github.com/flixlix/power-flow-card-plus/assets/24881918/a8238bf0-9a3e-4e57-b3d5-f69272d2fa11)
Please make sure all of this applies and check the checkboxes, by writing "X" inside of them.
[X] I understand that this is a channel for reporting bugs, not a support forum (If you need help configuring the card, go to: Discussions).
[X] I have the latest version of the card installed.
[X] I have cleared my browser cache after installing, updating and configuring the card.
[X] The issue is not related to the UI-Editor not being rendered: "s.entries is not a function". This is a known bug, and is caused by Card Mod. Check the warning this readme section for more information on how to fix it.