Skip to content

Commit

Permalink
387 power volt ampere reactive deprecated in ha 202490 (#390)
Browse files Browse the repository at this point in the history
* introduce UnitOfReactivePower

* Update hacs.json
  • Loading branch information
hultenvp authored Sep 19, 2024
1 parent 0ae8e3a commit 569cfdc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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
2 changes: 1 addition & 1 deletion hacs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"name": "SolisCloud portal integration",
"content_in_root": false,
"render_readme": false,
"homeassistant": "2021.9",
"homeassistant": "2024.9.0",
"domains": ["sensor"]
}

0 comments on commit 569cfdc

Please sign in to comment.