Add blog post about service description filters (#1824)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Erik Montnemery 2023-06-28 20:29:15 +02:00 committed by GitHub
parent 1d36875526
commit 79caae92d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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).