Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Connected/Disconnected status #111

Closed
bbeckford opened this issue Apr 20, 2023 · 5 comments
Closed

[FEATURE REQUEST] Connected/Disconnected status #111

bbeckford opened this issue Apr 20, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@bbeckford
Copy link

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! :)

@bbeckford bbeckford added the enhancement New feature or request label Apr 20, 2023
@flixlix
Copy link
Owner

flixlix commented Apr 20, 2023

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

@bbeckford
Copy link
Author

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.

@flixlix
Copy link
Owner

flixlix commented Apr 20, 2023

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

@flixlix flixlix closed this as completed Apr 20, 2023
@MelchMwoan
Copy link

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

@HolgerMiara
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants