cli: retain

This commit is contained in:
Robert Jördens 2021-03-02 18:23:32 +01:00
parent e283596f97
commit f70d12bf98
1 changed files with 1 additions and 1 deletions

View File

@ -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]