MindFreeze / ha-sankey-chart

A Home Assistant lovelace card to display a sankey chart. For example for power consumption
MIT License
348 stars 15 forks source link

Please add posibility to Auto config for Power instead of Energy #205

Open rosiaantje opened 1 month ago

rosiaantje commented 1 month ago

Is your feature request related to a problem? Please describe. A lovely energy sankey is auto generated. I'm hoping some thing simmilar is possible for (current) power consumption.

Describe the solution you'd like The possibility to select / switch to auto generate an Sankey on Power instead of Energy

Describe alternatives you've considered Setting it op by a copy of the energy and changing the entity's to power ones.

Additional context Feel free to reach out if you need any thing about this from me!

MindFreeze commented 1 month ago

It would be nice but for energy everything is already configured in the Energy dashboard. There is no config like that for current power. I could get all entities with W & kW and arrange them by floor and area but some of them may be total consumption or solar generation so I doubt it would work for most people. If you have any suggestions on how to determine what is what, I am open to ideas. But keep in mind it can't just be based entity names. That would be unreliable