-
Notifications
You must be signed in to change notification settings - Fork 488
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tongou QCB2: expose online_state as a switch rather than sensor
From observing the Tuya app's activity, it was seen that despite the name, this is not just an indication of the connectivity, but is used to trigger frequent updates of power/current/voltage data when these are being observed rather than every 10 minutes as the default update rate on these devices seems to be. Making this available as a switch allows an automation to regularly trigger real time updates to keep the data flowing from the device. Discussion #1483
- Loading branch information
Showing
2 changed files
with
14 additions
and
8 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