mirror of
https://github.com/home-assistant/core.git
synced 2025-12-25 05:26:47 +00:00
Respect callback decorator in store helper async_delay_save (#157158)
This commit is contained in:
@@ -1531,7 +1531,7 @@ def mock_storage(data: dict[str, Any] | None = None) -> Generator[dict[str, Any]
|
||||
return loaded
|
||||
|
||||
async def mock_write_data(
|
||||
store: storage.Store, path: str, data_to_write: dict[str, Any]
|
||||
store: storage.Store, data_to_write: dict[str, Any]
|
||||
) -> None:
|
||||
"""Mock version of write data."""
|
||||
# To ensure that the data can be serialized
|
||||
|
||||
Reference in New Issue
Block a user