flixlix/power-flow-card-plus

[FEATURE REQUEST] Connected/Disconnected status

bbeckford opened this issue · 5 comments

Is your feature request related to a problem? Please describe.
I'd like to be able to display the connected status of my EV on the line leading to the individual1 / individual2 circles.

Describe the solution you'd like
This could be shown with a disconnected line or perhaps a configurable mdi icon (eg mdi:power-plug-off) on top of the line beneath the circle.

disconnected_eg_1
disconnected_eg_2

Describe alternatives you've considered
You could set display_zero to false but then we can't see the EV state of charge which I'm sure most have set as the secondary_info entity.

Additional context
If I get time I'll try and do this myself and submit a pull request, I'm new to HASS though so will need to figure out how I get started with development.

Thanks for all your hard work so far! :)

In the new Beta version, display_zero_lines was revealed. Does simply not displaying the line when there is no power suffice?

It's certainly an improvement but I don't think it's explicit enough, no line doesn't obviously mean "this thing could be connected but currently isn't", also you lose the context of what that item could be connected to.

It's certainly an improvement but I don't think it's explicit enough, no line doesn't obviously mean "this thing could be connected but currently isn't", also you lose the context of what that item could be connected to.

I'm also not a big fan personally of the display_zero_lines, but I implemented it because multiple people requested it. I'll add this to the to-do list, but also feel free to open a PR with the changes you wish to see

Hey! I was looking into improving those lines but what would be the best way to implement this?

Would you like any individual with display_zero_lines: true to show a disconnected line when their wattage is 0 like this:
image

Because that would be kinda illogical for a device that couldnt actually be disconnected from the network

One thumb up from me as well!

I have a binary sensor for each car, telling me whether or not it is connected to the charger. Would be good to have a quick visual (on the card) to see whether we are just waiting for sun or whether one of my dear family members (again...) has forgotten plugging-in the car.

Both suggestions from @bbeckford look great; if I could choose however, I would go for the first one.