mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-11-08 18:39:35 +00:00
Adjust service response data example (#2855)
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user