Skip to content

Commit

Permalink
port typing: int
Browse files Browse the repository at this point in the history
  • Loading branch information
julesxxl committed Feb 9, 2025
1 parent 9e64831 commit c2ae5b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/victron/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(
self,
hass: HomeAssistant,
host: str,
port: str,
port: int,
decode_info: OrderedDict,
interval: int,
) -> None:
Expand Down
2 changes: 1 addition & 1 deletion custom_components/victron/hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
class VictronHub:
"""Victron Hub."""

def __init__(self, host: str, port: str) -> None:
def __init__(self, host: str, port: int) -> None:
"""Initialize."""
self.host = host
self.port = port
Expand Down

0 comments on commit c2ae5b2

Please sign in to comment.