Skip to content

Commit

Permalink
Enable forced discharging - fix const
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamish Findlay committed Oct 3, 2022
1 parent c207027 commit b352084
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion custom_components/battery_sim/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,21 @@
GRID_IMPORT_SIM = "simulated grid import after battery discharging"
ICON_CHARGING = "mdi:battery-charging-50"
ICON_DISCHARGING = "mdi:battery-50"
OVERIDE_CHARGING = "overide_charging"
OVERIDE_CHARGING = "force_charge"
FORCE_DISCHARGE = "force_discharge"
PAUSE_BATTERY = "pause_battery"
RESET_BATTERY = "reset_battery"
PERCENTAGE_ENERGY_IMPORT_SAVED = "percentage_import_energy_saved"

BATTERY_MODE = "Battery_mode"
MODE_IDLE = "Idle/Paused"
MODE_CHARGING = "Charging"
MODE_DISCHARGING = "Discharging"
MODE_FORCE_CHARGING = "Forced charging"
MODE_FORCE_DISCHARGING = "Forced discharging"
MODE_FULL = "Full"
MODE_EMPTY = "Empty"

BATTERY_OPTIONS = {
"Tesla Powerwall": {
CONF_BATTERY_SIZE: 13.5,
Expand Down

0 comments on commit b352084

Please sign in to comment.