Skip to content

Commit e36ba8e

Browse files
authored
Adjust service response data example (#2855)
1 parent c4c0241 commit e36ba8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/dev_101_services.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,8 @@ SEARCH_ITEMS_SCHEMA = vol.Schema({
309309
})
310310

311311

312-
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
313-
"""Set up the platform."""
312+
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
313+
"""Set up the integration."""
314314

315315
async def search_items(call: ServiceCall) -> ServiceResponse:
316316
"""Search in the date range and return the matching items."""

0 commit comments

Comments
 (0)