mirror of
https://github.com/fmtr/haco.git
synced 2026-10-26 02:48:54 -04:00
Fix state topics not being retained by default
Some checks failed
Version and Deploy / build (push) Has been cancelled
Some checks failed
Version and Deploy / build (push) Has been cancelled
This commit is contained in:
parent
55404d43d3
commit
11a74b4e98
2 changed files with 2 additions and 2 deletions
|
|
@ -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}')
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
0.1.7
|
||||
0.1.8
|
||||
Loading…
Add table
Add a link
Reference in a new issue