Skip to content

Fix broken inverter detection - #211

Open
dezzak wants to merge 6 commits into
squishykid:masterfrom
dezzak:fix-broken-inverter-detection
Open

Fix broken inverter detection#211
dezzak wants to merge 6 commits into
squishykid:masterfrom
dezzak:fix-broken-inverter-detection

Conversation

@dezzak

@dezzak dezzak commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

v3.2.4 introduced a breaking change where some inverter types were incorrectly detected as X1_Lite_LV.

This change adds an extra check to the X1_Lite_LV type detection so that it only matches when the type is 103. I'm not sure if this will break the X1_Lite_LV inverters as there's only one example payload, but it certainly fixes my own inverter's detection.

dezzak added 4 commits July 3, 2026 13:44
…ectly detected.

These are detected as multiple inverters - both X1LiteLV and X1HybridGen4 and X1LiteLV is errorneously returned first.
This stops it detecting multiple inverters when both have an integer type.

I don't know if this will break the X1LiteLV type though
@dezzak

dezzak commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

Not sure why black is failing - it runs locally, and is complaining about files that I haven't touched 🤷

@ralphjsmit

ralphjsmit commented Aug 10, 2026

Copy link
Copy Markdown

Hello @squishykid, Home Assistant has upgraded the dependency on your package to 3.2.4 recently. This PR with a small change (or the alternative #213) fixes an important issue in your package since version 3.2.4 (present since September last year) and is now breaking thousands of Home Assistant inverters. Can you therefore please merge either this PR or PR #213 and release it as a tag? It's not a big fix or much work. This would be immensely helpful, thanks so much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants