Don't log Shelly push update failures if there are no errors (#120189)
This commit is contained in:
parent
1ca187611d
commit
57e615aa36
1 changed files with 4 additions and 3 deletions
|
@ -404,9 +404,10 @@ class ShellyBlockCoordinator(ShellyCoordinatorBase[BlockDevice]):
|
|||
"ip_address": self.device.ip_address,
|
||||
},
|
||||
)
|
||||
LOGGER.debug(
|
||||
"Push update failures for %s: %s", self.name, self._push_update_failures
|
||||
)
|
||||
if self._push_update_failures:
|
||||
LOGGER.debug(
|
||||
"Push update failures for %s: %s", self.name, self._push_update_failures
|
||||
)
|
||||
self.async_set_updated_data(None)
|
||||
|
||||
def async_setup(self, pending_platforms: list[Platform] | None = None) -> None:
|
||||
|
|
Loading…
Add table
Reference in a new issue