diff --git a/docs/dev_101_services.md b/docs/dev_101_services.md index 1e9421dd557..689478fa71c 100644 --- a/docs/dev_101_services.md +++ b/docs/dev_101_services.md @@ -309,8 +309,8 @@ SEARCH_ITEMS_SCHEMA = vol.Schema({ }) -async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: - """Set up the platform.""" +async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: + """Set up the integration.""" async def search_items(call: ServiceCall) -> ServiceResponse: """Search in the date range and return the matching items."""