Improve displaying of message for reset retry
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
#pylint: disable=line-too-long,broad-exception-caught,possibly-used-before-assignment
|
#pylint: disable=line-too-long,broad-exception-caught,possibly-used-before-assignment
|
||||||
"""
|
"""
|
||||||
<plugin key="HeatzyEx" name="Heatzy Pilote Ex" author="fjumelle" version="2.2.1" wikilink="" externallink="">
|
<plugin key="HeatzyEx" name="Heatzy Pilote Ex" author="fjumelle" version="2.2.2" wikilink="" externallink="">
|
||||||
<description>
|
<description>
|
||||||
<h2>Heatzy Pilote</h2><br/>
|
<h2>Heatzy Pilote</h2><br/>
|
||||||
Implementation of Heatzy Pilote as a Domoticz Plugin.<br/>
|
Implementation of Heatzy Pilote as a Domoticz Plugin.<br/>
|
||||||
@@ -457,8 +457,9 @@ class BasePlugin:
|
|||||||
|
|
||||||
def reset_retry(self):
|
def reset_retry(self):
|
||||||
"""Reset the retry counter"""
|
"""Reset the retry counter"""
|
||||||
Domoticz.Status("Reset retry counter")
|
if self.retry != self._MAX_RETRY_PER_DEVICE * len(self.did):
|
||||||
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()
|
_plugin = BasePlugin()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user