Skip to content

Commit

Permalink
Update attribute.js
Browse files Browse the repository at this point in the history
  • Loading branch information
xtimmy86x committed Mar 7, 2023
1 parent 56e67c6 commit 81fd028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attribute.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ module.exports = class attribute {
this.last_update = now;

this.mqtt_handler.publish(this.full_mqtt_topic, data.toString(), {
retain: false
retain: this.retain_messages
});

if (this.write_back) {
Expand Down

0 comments on commit 81fd028

Please sign in to comment.