Skip to content

Commit 46b8b67

Browse files
committed
code style
1 parent 8fac8c6 commit 46b8b67

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

custom_components/solax_modbus/plugin_solinteg.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
DEFAULT_READ_DCB,
2222
DEFAULT_READ_EPS,
2323
REG_HOLDING,
24-
REGISTER_STR,
2524
REGISTER_S16,
2625
REGISTER_S32,
26+
REGISTER_STR,
2727
REGISTER_U16,
2828
REGISTER_U32,
2929
REGISTER_WORDS,
@@ -1228,15 +1228,15 @@ class SolintegModbusSensorEntityDescription(BaseModbusSensorEntityDescription):
12281228
entity_category=EntityCategory.DIAGNOSTIC,
12291229
),
12301230
SolintegModbusSensorEntityDescription(
1231-
name = "Battery Manufacturer",
1232-
key = "battery_manufacturer",
1233-
register = 32020, #working, from fw V10.53...
1234-
wordcount = 8,
1235-
register_data_type = REGISTER_STR,
1236-
allowedtypes = HYBRID,
1237-
icon = "mdi:battery",
1238-
entity_registry_enabled_default = False,
1239-
entity_category = EntityCategory.DIAGNOSTIC,
1231+
name="Battery Manufacturer",
1232+
key="battery_manufacturer",
1233+
register=32020, # working, from fw V10.53...
1234+
wordcount=8,
1235+
register_data_type=REGISTER_STR,
1236+
allowedtypes=HYBRID,
1237+
icon="mdi:battery",
1238+
entity_registry_enabled_default=False,
1239+
entity_category=EntityCategory.DIAGNOSTIC,
12401240
),
12411241
SolintegModbusSensorEntityDescription(
12421242
name="Bat. Min Cell Voltage",

0 commit comments

Comments
 (0)