Skip to content

Commit

Permalink
Initialization of EconetClient Class with None Values
Browse files Browse the repository at this point in the history
  • Loading branch information
jontofront committed Nov 4, 2024
1 parent 4023cfc commit 64b3954
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion custom_components/econet300/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ def __init__(
self._host = host
self._session = session
self._auth = BasicAuth(username, password)
self._model_id = None
self._sw_revision = None

@property
def host(self) -> str:
Expand Down Expand Up @@ -155,7 +157,7 @@ def __init__(self, client: EconetClient, cache: MemCache) -> None:
self._client = client
self._cache = cache
self._uid = "default-uid"
self._model_id = "default-model"
self._model_id = "default-model-id"
self._sw_revision = "default-sw-revision"
self._hw_version = "default-hw-version"

Expand Down

0 comments on commit 64b3954

Please sign in to comment.