Add support for bidirectional chargers to Wallbox integration (#74313)
* Add support for the Quasar bidirectional charger to the Wallbox integration, including ability to control charger while discharging, set a negative charge rate and monitor discharged amount * Make code more generic in order to support other bidirectional models in the future * Updates to files to comply with HA formatting rules * Change const file to fix black check failure * Remove unnecessay loop in number entity
This commit is contained in:
parent
2cc9db5468
commit
5b32eea3d0
3 changed files with 28 additions and 6 deletions
|
@ -3,7 +3,10 @@ from homeassistant.backports.enum import StrEnum
|
|||
|
||||
DOMAIN = "wallbox"
|
||||
|
||||
BIDIRECTIONAL_MODEL_PREFIXES = ["QSX"]
|
||||
|
||||
CONF_STATION = "station"
|
||||
CHARGER_ADDED_DISCHARGED_ENERGY_KEY = "added_discharged_energy"
|
||||
CHARGER_ADDED_ENERGY_KEY = "added_energy"
|
||||
CHARGER_ADDED_RANGE_KEY = "added_range"
|
||||
CHARGER_CHARGING_POWER_KEY = "charging_power"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue