Shorten tplink update cycle (#87399)

This commit is contained in:
Teemu R 2023-02-14 17:15:47 +01:00 committed by GitHub
parent 4b58800530
commit 95476f46c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ class TPLinkDataUpdateCoordinator(DataUpdateCoordinator[None]):
"""Initialize DataUpdateCoordinator to gather data for specific SmartPlug.""" """Initialize DataUpdateCoordinator to gather data for specific SmartPlug."""
self.device = device self.device = device
self.update_children = True self.update_children = True
update_interval = timedelta(seconds=10) update_interval = timedelta(seconds=5)
super().__init__( super().__init__(
hass, hass,
_LOGGER, _LOGGER,