Skip to content

Commit

Permalink
Merge pull request #605 from canton7/bugfix/h3-pro-regex
Browse files Browse the repository at this point in the history
Fix regex for H3-Pro
  • Loading branch information
canton7 authored Apr 27, 2024
2 parents da1e355 + 6f4c09a commit a0c5869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/foxess_modbus/inverter_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def inverter_capacity(self, inverter_model: str) -> int:
special_registers=H3_REGISTERS,
),
# E.g. H3-Pro-20.0
InverterModelProfile(InverterModel.H3_PRO, r"^H3-Pro-([\d\.])+)").add_connection_type(
InverterModelProfile(InverterModel.H3_PRO, r"^H3-Pro-([\d\.]+)").add_connection_type(
Inv.H3_PRO,
ConnectionType.AUX,
RegisterType.HOLDING,
Expand Down

0 comments on commit a0c5869

Please sign in to comment.