From 98a56faba2af9b48f24160942e1087cd8d8c1fea Mon Sep 17 00:00:00 2001 From: Mips2648 Date: Thu, 16 May 2024 18:33:47 +0200 Subject: [PATCH] :bug: cycle was not taken from the config --- jeedomdaemon/base_daemon.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jeedomdaemon/base_daemon.py b/jeedomdaemon/base_daemon.py index 399b7df..652fce9 100644 --- a/jeedomdaemon/base_daemon.py +++ b/jeedomdaemon/base_daemon.py @@ -106,8 +106,7 @@ async def __run(self): self._loop = asyncio.get_running_loop() self.__listen_task = Listener.create_listen_task(self._config.socket_host, self._config.socket_port, self.__on_socket_message) - async with Publisher(self._config.callback_url, self._config.api_key) as self._publisher: - # self._jeedom_publisher = Publisher(self._config.callback_url, self._config.api_key) + async with Publisher(self._config.callback_url, self._config.api_key, self._config.cycle) as self._publisher: if not await self._publisher.test_callback(): return