You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0d0f929
Browse filesBrowse the repository at this point in the historyBrowse files
Make inverter serial optional for hybrid Modbus setup
Issue #20's follow-up added serial auto-detection (registers
33004-33019) but the schema still required typing something into a
blank field even though hybrid models immediately overwrite it once
validated. CONF_INVERTER_SERIAL is now optional (default ""); if it's
still blank after validation (grid/string model, or a failed
detection read), the form is shown again with a clear error instead
of silently creating an entry with an empty serial.
The dual-protocol Modbus step needs no equivalent change: its final
entry serial always comes from the cloud-resolved value, not the
Modbus step's data.
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,10 +117,11 @@ Home Assistant only allows one `iot_class` value in the manifest. SolisConnect i
117
117
- The SolisCloud API is rate-limited by the integration. Avoid running another cloud integration against the same key if you are seeing slow or failed cloud updates.
118
118
- If older debug logs captured SolisCloud credentials before redaction was added, rotate the SolisCloud key secret and clear old logs.
119
119
120
-
**Inverter Serial**: (Required)
120
+
**Inverter Serial**: (Optional on hybrid Modbus models and SolisCloud; required otherwise)
121
121
122
-
- Enter your inverter's serial number. This is now **mandatory** for generating unique entity IDs and ensuring configuration stability.
123
-
- On Modbus hybrid inverters, once connectivity is confirmed the integration reads the serial directly from the device and silently corrects a mistyped value (grid/string models don't expose this register, so the typed value is used as-is). On SolisCloud, the serial is optional and auto-resolved when your plant has exactly one inverter.
122
+
- Used to generate unique entity IDs and ensure configuration stability — every entry needs one, but you don't always have to type it.
123
+
- On Modbus **hybrid** inverters, you can leave this blank: once connectivity is confirmed, the integration reads the serial directly from the device and uses it (silently correcting a mistyped value too, if you did type one). **Grid/string** models don't expose this register, so you still need to type it there — if you leave it blank on a grid/string model, the form will ask again.
124
+
- On SolisCloud, the serial is optional and auto-resolved when your plant has exactly one inverter; you only need to type it to disambiguate a plant with multiple inverters.
0 commit comments