Adjust service response data example (#2855)

This commit is contained in:
Erik Montnemery
2025-11-04 23:42:11 +01:00
committed by GitHub
parent c4c0241eda
commit e36ba8e12f

View File

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