diff --git a/homeassistant/helpers/storage.py b/homeassistant/helpers/storage.py index af0c50ec5fa2a76ec42689b4dadd5e0715b96661..554a88f4ad5651e19d9fdba19016f810508b7144 100644 --- a/homeassistant/helpers/storage.py +++ b/homeassistant/helpers/storage.py @@ -194,7 +194,11 @@ class Store: await self._async_handle_write_data() @callback - def async_delay_save(self, data_func: Callable[[], dict], delay: float = 0) -> None: + def async_delay_save( + self, + data_func: Callable[[], dict | list], + delay: float = 0, + ) -> None: """Save data with an optional delay.""" # pylint: disable-next=import-outside-toplevel from .event import async_call_later