Skip to content

Commit f94a0f4

Browse files
ID string as serial number for MMPPT units
1 parent 0250ef3 commit f94a0f4

File tree

1 file changed

+2
-1
lines changed
  • custom_components/solaredge_modbus_multi

1 file changed

+2
-1
lines changed

custom_components/solaredge_modbus_multi/hub.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1427,7 +1427,8 @@ def device_info(self) -> DeviceInfo:
14271427
name=f"{self.inverter.name} MPPT{self.unit}",
14281428
manufacturer=self.inverter.manufacturer,
14291429
model=self.inverter.model,
1430-
hw_version=f"ID {self.mmppt_id} {self.mmppt_idstr}",
1430+
hw_version=f"ID {self.mmppt_id}",
1431+
serial_number=f"{self.mmppt_idstr}",
14311432
via_device=(DOMAIN, self.inverter.uid_base),
14321433
)
14331434

0 commit comments

Comments
 (0)