Convert Integration platforms processors where nothing is awaited to callbacks (#110825)
Convert Integration platforms processors where nothing is awaited callbacks
This commit is contained in:
parent
165d79b553
commit
0d4c82b54d
13 changed files with 29 additions and 20 deletions
|
@ -61,7 +61,8 @@ async def async_get_energy_platforms(
|
|||
"""Get energy platforms."""
|
||||
platforms: dict[str, GetSolarForecastType] = {}
|
||||
|
||||
async def _process_energy_platform(
|
||||
@callback
|
||||
def _process_energy_platform(
|
||||
hass: HomeAssistant, domain: str, platform: ModuleType
|
||||
) -> None:
|
||||
"""Process energy platforms."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue