-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
driver: tuyaMCU: introduce battery-powered device ack-delay
This introduces a delay for sending the ACKs on battery powered TuyaMCU sensors. Rationale is to allow users to delay the return to sleep state. This is useful when e.g. changing settings on the device. Currently the device is sent back to sleep after the status has been read and commited to MQTT. This can be less than 5 seconds of uptime. Set this value to a sane default, which allows the device to retain online for enough time for a user to change configuration. Signed-off-by: David Bauer <[email protected]>
- Loading branch information
1 parent
51a572e
commit bb4b45a
Showing
1 changed file
with
41 additions
and
0 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