From e6dd15c011c6178288c8f68aebb23019cf3cdab0 Mon Sep 17 00:00:00 2001 From: Rudolf Offereins Date: Thu, 5 Feb 2026 20:11:00 +0000 Subject: [PATCH 1/2] Fix callback error --- lghorizon/lghorizon_device.py | 1 + 1 file changed, 1 insertion(+) 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: From e33c3b0d97c3269647d20c2b9af98fbf12cb1a82 Mon Sep 17 00:00:00 2001 From: Rudolf Offereins Date: Thu, 5 Feb 2026 20:16:37 +0000 Subject: [PATCH 2/2] Fix main error --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())