Skip to content

Commit

Permalink
introduce UnitOfReactivePower
Browse files Browse the repository at this point in the history
  • Loading branch information
hultenvp authored Sep 6, 2024
1 parent 7e39a28 commit 7b8261a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions custom_components/solis/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
UnitOfElectricPotential,
UnitOfTemperature,
UnitOfFrequency,
POWER_VOLT_AMPERE_REACTIVE,
UnitOfReactivePower,
PERCENTAGE)

from .ginlong_const import *
Expand Down Expand Up @@ -636,23 +636,23 @@
],
'gridreactivephase1power': [
'Grid Phase1 Reactive Power',
POWER_VOLT_AMPERE_REACTIVE,
UnitOfReactivePower.VOLT_AMPERE_REACTIVE,
'mdi:home-import-outline',
None,
SensorStateClass.MEASUREMENT,
GRID_REACTIVE_PHASE1_POWER
],
'gridreactivephase2power': [
'Grid Phase2 Reactive Power',
POWER_VOLT_AMPERE_REACTIVE,
UnitOfReactivePower.VOLT_AMPERE_REACTIVE,
'mdi:home-import-outline',
None,
SensorStateClass.MEASUREMENT,
GRID_REACTIVE_PHASE2_POWER
],
'gridreactivephase3power': [
'Grid Phase3 Reactive Power',
POWER_VOLT_AMPERE_REACTIVE,
UnitOfReactivePower.VOLT_AMPERE_REACTIVE,
'mdi:home-import-outline',
None,
SensorStateClass.MEASUREMENT,
Expand Down

0 comments on commit 7b8261a

Please sign in to comment.