diff --git a/lghorizon/lghorizon_device.py b/lghorizon/lghorizon_device.py index 2c20d7f..f25c902 100644 --- a/lghorizon/lghorizon_device.py +++ b/lghorizon/lghorizon_device.py @@ -74,6 +74,7 @@ def __init__( self._model = None self._recording_capacity = None self._device_state_processor = device_state_processor + self._change_callback = None @property def device_id(self) -> str: diff --git a/main.py b/main.py index e5eb563..59c6385 100644 --- a/main.py +++ b/main.py @@ -80,7 +80,7 @@ async def main(): async with aiohttp.ClientSession() as session: auth = LGHorizonAuth(session, country, username=username, password=password) - api = LGHorizonApi(auth) + api = LGHorizonApi(auth, profile_id=None) # Start the input reader task input_task = asyncio.create_task(read_input_and_signal_shutdown())