forked from keton/etrv2mqtt
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devices.py: Option to retry polling for thermostats with weak connection
Sometimes thermostats with weak connection can be sucessfully polled after a short while. This commit adds the option 'retry_rerun' for such an instance. In case polling retries fail at the first attempt, another attempt is started after finishing all other sensors. The option effectively doubles the number of retry attempts. The option defaults to 'False' for backward compatibility.
- Loading branch information
Showing
2 changed files
with
16 additions
and
1 deletion.
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