Update signature of platforms' async_setup_entry (#138201)

This commit is contained in:
Erik Montnemery
2025-02-10 21:08:03 +01:00
committed by GitHub
parent dc07f72fc2
commit f83c8de8d3
2093 changed files with 5043 additions and 4230 deletions

View File

@@ -21,7 +21,7 @@ from homeassistant.components.binary_sensor import (
)
from homeassistant.const import EntityCategory
from homeassistant.core import HomeAssistant, callback
from homeassistant.helpers.entity_platform import AddEntitiesCallback
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback
from homeassistant.helpers.event import async_call_later
from . import AugustConfigEntry, AugustData
@@ -92,7 +92,7 @@ SENSOR_TYPES_DOORBELL: tuple[AugustDoorbellBinarySensorEntityDescription, ...] =
async def async_setup_entry(
hass: HomeAssistant,
config_entry: AugustConfigEntry,
async_add_entities: AddEntitiesCallback,
async_add_entities: AddConfigEntryEntitiesCallback,
) -> None:
"""Set up the August binary sensors."""
data = config_entry.runtime_data