Skip to content

Commit

Permalink
fix: improve schema validation so it succeeds for qvolt_hyb_g3_3p inv…
Browse files Browse the repository at this point in the history
…erter
  • Loading branch information
kinkerl committed Jun 21, 2024
1 parent fedda9d commit 6bc88ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solax/inverters/qvolt_hyb_g3_3p.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(self, http_client: InverterHttpClient, *args, **kwargs):
vol.Required("data"): vol.Schema(
vol.All(
[vol.Coerce(float)],
vol.Length(min=200, max=200),
vol.Length(min=200, max=400),
)
),
vol.Required("information"): vol.Schema(
Expand Down

0 comments on commit 6bc88ef

Please sign in to comment.