Skip to content

Commit

Permalink
Merge pull request #1138 from prehor/fix-solax-eps-yield-today-state-…
Browse files Browse the repository at this point in the history
…class

Fix Solax EPS Yield Today sensor state class
  • Loading branch information
wills106 authored Dec 2, 2024
2 parents a445360 + 2c7f11e commit eb9038e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/solax_modbus/plugin_solax.py
Original file line number Diff line number Diff line change
Expand Up @@ -4731,7 +4731,7 @@ def value_function_battery_voltage_cell_difference(initval, descr, datadict):
key = "eps_yield_today",
native_unit_of_measurement = UnitOfEnergy.KILO_WATT_HOUR,
device_class = SensorDeviceClass.ENERGY,
state_class = SensorStateClass.MEASUREMENT,
state_class = SensorStateClass.TOTAL_INCREASING,
register = 0x90,
register_type = REG_INPUT,
scale = 0.1,
Expand Down

0 comments on commit eb9038e

Please sign in to comment.