We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0f0cfe commit ead92cdCopy full SHA for ead92cd
homeassistant/components/alexa_devices/coordinator.py
@@ -16,6 +16,7 @@
16
from homeassistant.core import HomeAssistant
17
from homeassistant.exceptions import ConfigEntryAuthFailed
18
from homeassistant.helpers import device_registry as dr
19
+from homeassistant.helpers.debounce import Debouncer
20
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator, UpdateFailed
21
22
from .const import _LOGGER, CONF_LOGIN_DATA, DOMAIN
@@ -43,6 +44,9 @@ def __init__(
43
44
name=entry.title,
45
config_entry=entry,
46
update_interval=timedelta(seconds=SCAN_INTERVAL),
47
+ request_refresh_debouncer=Debouncer(
48
+ hass, _LOGGER, cooldown=30, immediate=False
49
+ ),
50
)
51
self.api = AmazonEchoApi(
52
session,
0 commit comments