Skip to content
Snippets Groups Projects
Unverified Commit 79dbc704 authored by Martin Hjelmare's avatar Martin Hjelmare Committed by GitHub
Browse files

Fix return value for DataUpdateCoordinator._async setup (#139181)

Fix return value for coodinator async setup
parent 2bab7436
No related branches found
No related tags found
No related merge requests found
......@@ -348,8 +348,8 @@ class DataUpdateCoordinator(BaseDataUpdateCoordinatorProtocol, Generic[_DataT]):
only once during the first refresh.
"""
if self.setup_method is None:
return None
return await self.setup_method()
return
await self.setup_method()
async def async_refresh(self) -> None:
"""Refresh data and log errors."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment