flixlix / power-flow-card-plus

A power distribution card inspired by the official Energy Distribution card for Home Assistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FEATURE REQUEST] Connected/Disconnected status

bbeckford opened this issue · 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