CJNE / ha-myenergi

Home Assistant integration for MyEnergi devices
MIT License
150 stars 33 forks source link

[Feature Request] Separate "Plug status" from "EV status" #593

Open AJediIAm opened 1 month ago

AJediIAm commented 1 month ago

Is your feature request related to a problem? Please describe. When making automations with MyEnergy, I often need to find out what the possible values of a status entity could be. The values of "Plug status" are particularly confusing since they describe the EV status and not the Plug status.

Describe the solution you'd like It would be nice to have a simple binary sensor which indicates if the plug is plugged in or not. Similarly, it would be nice to have a binary sensor which indicates if Zappi is charging or not.

Describe alternatives you've considered I have created template sensors to simplify making automations and conditional cards on dashboards and it is very nice to work with.

Additional context I'm wondering if there would be an interest in adding these kind of binary sensors for simplicity or if this is not preferred due to architectural reasons. This issue is intended to make a decision. I (or someone else) can submit a pull request once a decision has been made.