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:
J. Nick Koston 2024-02-17 19:49:47 -06:00 committed by GitHub
parent 165d79b553
commit 0d4c82b54d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 29 additions and 20 deletions

View file

@ -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."""