Skip to content

Commit 63f9fe7

Browse files
authored
Adding units for battery measurement
1 parent a60f4ae commit 63f9fe7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

custom_components/solis/soliscloud_const.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from .ginlong_const import *
88

99
# VERSION
10-
VERSION = '0.1.6'
10+
VERSION = '0.1.7'
1111

1212
STRING_COUNT = 'dcStringCount'
1313
STRING_LISTS = [
@@ -28,6 +28,12 @@
2828
INVERTER_ENERGY_THIS_YEAR_STR = 'energyThisYearUnit'
2929
INVERTER_ENERGY_TOTAL_LIFE_STR = 'energyTotalLifeUnit'
3030
BAT_POWER_STR = 'batteryPowerUnit'
31+
BAT_DAILY_ENERGY_CHARGED_STR = 'batteryTodayChargeEnergyUnit'
32+
BAT_DAILY_ENERGY_DISCHARGED_STR = 'batteryTodayDischargeEnergyUnit'
33+
BAT_MONTHLY_ENERGY_CHARGED_STR = 'batteryMonthChargeEnergyUnit'
34+
BAT_MONTHLY_ENERGY_DISCHARGED_STR = 'batteryMonthDischargeEnergyUnit'
35+
BAT_YEARLY_ENERGY_CHARGED_STR = 'batteryYearChargeEnergyUnit'
36+
BAT_YEARLY_ENERGY_DISCHARGED_STR = 'batteryYearDischargeEnergyUnit'
3137
BAT_TOTAL_ENERGY_CHARGED_STR = 'batteryTotalChargeEnergyUnit'
3238
BAT_TOTAL_ENERGY_DISCHARGED_STR = 'batteryTotalDischargeEnergyUnit'
3339
BAT_CURRENT_STR = 'batteryCurrentUnit'

0 commit comments

Comments
 (0)