Skip to content

Commit

Permalink
Fix Current Icon
Browse files Browse the repository at this point in the history
  • Loading branch information
fboundy committed Nov 21, 2024
1 parent 41643d0 commit 5dd22d8
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions custom_components/solax_modbus/plugin_solis_fb00.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@ def value_function_pv4_power(initval, descr, datadict):
value_function=value_function_sync_rtc_ymd,
),
SolisModbusButtonEntityDescription(
name="Update Charge/Discharge Times",
key="update_charge_discharge_times",
name="Update Charge/Discharge Times 1",
key="update_charge_discharge_times_1",
register=43711,
allowedtypes=HYBRID,
write_method=WRITE_MULTI_MODBUS,
Expand Down Expand Up @@ -1359,7 +1359,7 @@ def value_function_pv4_power(initval, descr, datadict):
key="timed_charge_current_1",
register=43709,
native_unit_of_measurement=UnitOfElectricCurrent.AMPERE,
icon="mdi:dc-current",
icon="mdi:current-dc",
device_class=NumberDeviceClass.CURRENT,
fmt="f",
scale=0.1,
Expand Down Expand Up @@ -1404,7 +1404,7 @@ def value_function_pv4_power(initval, descr, datadict):
key="timed_charge_current_2",
register=43716,
native_unit_of_measurement=UnitOfElectricCurrent.AMPERE,
icon="mdi:dc-current",
icon="mdi:current-dc",
device_class=NumberDeviceClass.CURRENT,
fmt="f",
scale=0.1,
Expand Down Expand Up @@ -1449,7 +1449,7 @@ def value_function_pv4_power(initval, descr, datadict):
key="timed_charge_current_3",
register=43723,
native_unit_of_measurement=UnitOfElectricCurrent.AMPERE,
icon="mdi:dc-current",
icon="mdi:current-dc",
device_class=NumberDeviceClass.CURRENT,
fmt="f",
scale=0.1,
Expand Down Expand Up @@ -1494,7 +1494,7 @@ def value_function_pv4_power(initval, descr, datadict):
key="timed_charge_current_4",
register=43730,
native_unit_of_measurement=UnitOfElectricCurrent.AMPERE,
icon="mdi:dc-current",
icon="mdi:current-dc",
device_class=NumberDeviceClass.CURRENT,
fmt="f",
scale=0.1,
Expand Down Expand Up @@ -1539,7 +1539,7 @@ def value_function_pv4_power(initval, descr, datadict):
key="timed_charge_current_5",
register=43737,
native_unit_of_measurement=UnitOfElectricCurrent.AMPERE,
icon="mdi:dc-current",
icon="mdi:current-dc",
device_class=NumberDeviceClass.CURRENT,
fmt="f",
scale=0.1,
Expand Down Expand Up @@ -1584,7 +1584,7 @@ def value_function_pv4_power(initval, descr, datadict):
key="timed_charge_current_6",
register=43744,
native_unit_of_measurement=UnitOfElectricCurrent.AMPERE,
icon="mdi:dc-current",
icon="mdi:current-dc",
device_class=NumberDeviceClass.CURRENT,
fmt="f",
scale=0.1,
Expand Down Expand Up @@ -3057,7 +3057,7 @@ def value_function_pv4_power(initval, descr, datadict):
key="timed_charge_current_1",
register=43709,
native_unit_of_measurement=UnitOfElectricCurrent.AMPERE,
icon="mdi:dc-current",
icon="mdi:current-dc",
scale=0.1,
entity_registry_enabled_default=False,
allowedtypes=HYBRID,
Expand Down Expand Up @@ -3129,7 +3129,7 @@ def value_function_pv4_power(initval, descr, datadict):
key="timed_charge_current_2",
register=43716,
native_unit_of_measurement=UnitOfElectricCurrent.AMPERE,
icon="mdi:dc-current",
icon="mdi:current-dc",
scale=0.1,
entity_registry_enabled_default=False,
allowedtypes=HYBRID,
Expand Down Expand Up @@ -3201,7 +3201,7 @@ def value_function_pv4_power(initval, descr, datadict):
key="timed_charge_current_3",
register=43723,
native_unit_of_measurement=UnitOfElectricCurrent.AMPERE,
icon="mdi:dc-current",
icon="mdi:current-dc",
scale=0.1,
entity_registry_enabled_default=False,
allowedtypes=HYBRID,
Expand Down Expand Up @@ -3273,7 +3273,7 @@ def value_function_pv4_power(initval, descr, datadict):
key="timed_charge_current_4",
register=43730,
native_unit_of_measurement=UnitOfElectricCurrent.AMPERE,
icon="mdi:dc-current",
icon="mdi:current-dc",
scale=0.1,
entity_registry_enabled_default=False,
allowedtypes=HYBRID,
Expand Down Expand Up @@ -3345,7 +3345,7 @@ def value_function_pv4_power(initval, descr, datadict):
key="timed_charge_current_5",
register=43737,
native_unit_of_measurement=UnitOfElectricCurrent.AMPERE,
icon="mdi:dc-current",
icon="mdi:current-dc",
scale=0.1,
entity_registry_enabled_default=False,
allowedtypes=HYBRID,
Expand Down Expand Up @@ -3417,7 +3417,7 @@ def value_function_pv4_power(initval, descr, datadict):
key="timed_charge_current_6",
register=43744,
native_unit_of_measurement=UnitOfElectricCurrent.AMPERE,
icon="mdi:dc-current",
icon="mdi:current-dc",
scale=0.1,
entity_registry_enabled_default=False,
allowedtypes=HYBRID,
Expand Down

0 comments on commit 5dd22d8

Please sign in to comment.