mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-15 21:36:31 +00:00
Add blog post about service description filters (#1824)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
1d36875526
commit
79caae92d4
11
blog/2023-06-28-service-description-filters.md
Normal file
11
blog/2023-06-28-service-description-filters.md
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
author: Erik Montnémery
|
||||
authorURL: https://github.com/emontnemery
|
||||
title: "Service call description filters"
|
||||
---
|
||||
|
||||
Service call fields now support filtering, to avoid showing service call parameters that are not supported by an entity to the user. For example, the `brightness` service call parameter for `light.turn_on` will only be shown if the light supports brightness.
|
||||
|
||||
This is an extension of the previously supported possibility to filter out entities that don't support a certain service call.
|
||||
|
||||
This features was introduced in core [PR #86162](https://github.com/home-assistant/core/pull/86162) and is documented [here](/docs/dev_101_services#filtering-service-fields).
|
Loading…
x
Reference in New Issue
Block a user