CharlesGillanders / homeassistant-alphaESS

Monitor your energy generation, storage, and usage data using the official API from Alpha ESS.
MIT License
101 stars 22 forks source link

Sensor to indicate status of grid charging/discharging #68

Closed milkmanrox closed 1 year ago

milkmanrox commented 1 year ago

I've been using the service to enable grid charging for my system at certain times, but would also like to query the status as a condition during an automation.

Is this something you could add?

Spookster commented 1 year ago

Pretty sure the code by mat at the moment is only able to set the mode and we cant query the status.

If that is the case, then perhaps look at using a helper in HA to maintain the last state (include it in any script / automation)