diff --git a/homeassistant/components/plugwise/coordinator.py b/homeassistant/components/plugwise/coordinator.py index b0b2c4b1294..1c8de0c6544 100644 --- a/homeassistant/components/plugwise/coordinator.py +++ b/homeassistant/components/plugwise/coordinator.py @@ -6,6 +6,7 @@ from plugwise import Smile from plugwise.exceptions import PlugwiseException, XMLDataMissingError from homeassistant.core import HomeAssistant +from homeassistant.helpers.debounce import Debouncer from homeassistant.helpers.update_coordinator import DataUpdateCoordinator, UpdateFailed from .const import DEFAULT_SCAN_INTERVAL, DOMAIN, LOGGER @@ -30,6 +31,14 @@ class PlugwiseDataUpdateCoordinator(DataUpdateCoordinator[PlugwiseData]): update_interval=DEFAULT_SCAN_INTERVAL.get( str(api.smile_type), timedelta(seconds=60) ), + # Don't refresh immediately, give the device time to process + # the change in state before we query it. + request_refresh_debouncer=Debouncer( + hass, + LOGGER, + cooldown=1.5, + immediate=False, + ), ) self.api = api