Skip to content

Commit 1d8938e

Browse files
authored
Fix indentation of async_register call for search_items service (#2845)
1 parent ee3c670 commit 1d8938e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/dev_101_services.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -324,13 +324,13 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
324324
],
325325
}
326326

327-
hass.services.async_register(
328-
DOMAIN,
329-
SEARCH_ITEMS_SERVICE_NAME,
330-
search_items,
331-
schema=SEARCH_ITEMS_SCHEMA,
332-
supports_response=SupportsResponse.ONLY,
333-
)
327+
hass.services.async_register(
328+
DOMAIN,
329+
SEARCH_ITEMS_SERVICE_NAME,
330+
search_items,
331+
schema=SEARCH_ITEMS_SCHEMA,
332+
supports_response=SupportsResponse.ONLY,
333+
)
334334
```
335335

336336
The use of response data is meant for cases that do not fit the Home Assistant state. For example, a response stream of objects. Conversely, response data should not be used for cases that are a fit for entity state. For example, a temperature value should just be a sensor.

0 commit comments

Comments
 (0)