From f70d12bf9852292893e4bc55bf0739c263605343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Tue, 2 Mar 2021 18:23:32 +0100 Subject: [PATCH] cli: retain --- stabilizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stabilizer.py b/stabilizer.py index f302067..1b3ac65 100644 --- a/stabilizer.py +++ b/stabilizer.py @@ -72,7 +72,7 @@ class MiniconfApi: self.logger.debug('Sending %s to "%s"', value, setting_topic) self.inflight_settings[response_topic] = asyncio.get_running_loop().create_future() - self.client.publish(setting_topic, payload=value, qos=0, retain=False, + self.client.publish(setting_topic, payload=value, qos=0, retain=True, response_topic=response_topic) response = await self.inflight_settings[response_topic]