Fix state topics not being retained by default
Some checks failed
Version and Deploy / build (push) Has been cancelled

This commit is contained in:
Edward Brown 2025-12-31 14:48:13 +00:00
parent 55404d43d3
commit 11a74b4e98
2 changed files with 2 additions and 2 deletions

View file

@ -107,7 +107,7 @@ class AnnounceTopicState(AnnounceTopic):
return
value_raw = self.capability.converters.state(value)
await self.capability.control.device.client.publish(self.topic, value_raw)
await self.capability.control.device.client.publish(self.topic, value_raw, retain=True)
logger.info(f'{get_prefix(self.IO)}: {self.topic} {Constants.ARROW_RIGHT} {value_raw}')

View file

@ -1 +1 @@
0.1.7
0.1.8