Skip to content

Commit

Permalink
Merge pull request #3 from Pho3niX90/feature/number_entity
Browse files Browse the repository at this point in the history
fix: incorrect device class for Solis Inverter Reactive Power
  • Loading branch information
Pho3niX90 authored Dec 3, 2023
2 parents 3dfe8e7 + 26a33be commit d6584da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/solis_modbus/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry, asyn

{"type": "SS", "name": "Solis Inverter Reactive Power",
"unique": "solis_modbus_inverter_reactive_power",
"register": ['33081', '33082'], "device_class": SensorDeviceClass.APPARENT_POWER,
"register": ['33081', '33082'], "device_class": SensorDeviceClass.REACTIVE_POWER,
"decimal_places": 0,
"unit_of_measurement": POWER_VOLT_AMPERE_REACTIVE,
"state_class": SensorStateClass.MEASUREMENT},
Expand Down

0 comments on commit d6584da

Please sign in to comment.