Skip to content

Commit

Permalink
Fix default API Constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
peribeir committed Nov 28, 2023
1 parent 10971f5 commit 9ec3e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homepilot/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class HomePilotApi:
_authenticated: bool = False
_cookie_jar: Any = None

def __init__(self, host, password, api_version) -> None:
def __init__(self, host, password, api_version = 1) -> None:
self._host = host
self._password = password
self._api_version = api_version
Expand Down

0 comments on commit 9ec3e47

Please sign in to comment.