diff --git a/plugin.py b/plugin.py index 9047e1b..64524f5 100755 --- a/plugin.py +++ b/plugin.py @@ -4,7 +4,7 @@ # #pylint: disable=line-too-long,broad-exception-caught,possibly-used-before-assignment """ - +

Heatzy Pilote


Implementation of Heatzy Pilote as a Domoticz Plugin.
@@ -457,8 +457,9 @@ class BasePlugin: def reset_retry(self): """Reset the retry counter""" - Domoticz.Status("Reset retry counter") - self.retry = self._MAX_RETRY_PER_DEVICE * len(self.did) + if self.retry != self._MAX_RETRY_PER_DEVICE * len(self.did): + Domoticz.Status("Reset retry counter") + self.retry = self._MAX_RETRY_PER_DEVICE * len(self.did) _plugin = BasePlugin()