Skip to content

Commit

Permalink
Remove unused constat
Browse files Browse the repository at this point in the history
  • Loading branch information
rroemhild committed Nov 27, 2019
1 parent 377cb7e commit 20f8076
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion homie/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
DEVICE_STATE,
MAIN_DELAY,
QOS,
RESTORE_DELAY,
SLASH,
STATE_INIT,
STATE_READY,
Expand Down
1 change: 1 addition & 0 deletions homie/property.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@ def msg_handler(self, topic, payload, retained):
else:
self.on_message(topic, payload, retained)

# do not re-publish the data from a retained message
if retained:
self._update = False

0 comments on commit 20f8076

Please sign in to comment.