-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Invalidate MQTT item values on disconnect / null
The client now has the option whether to read the last-valid value or the most-recent (even if invalid) value. To support this, we need to ensure that we produce a specified-as-invalid value whenever connection to the backend is lost, or when the backend tells us that a specific device has been disconnected (via a null payload message for a topic).
- Loading branch information
Showing
2 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters