From a42cc9f1ab4d6e7bbcc7bbbd50aa5c5a962aa92d Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Wed, 31 Mar 2021 15:28:59 +0200 Subject: [PATCH] Mention `name` property for services.yaml (#16788) --- source/_integrations/python_script.markdown | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/_integrations/python_script.markdown b/source/_integrations/python_script.markdown index da46b52ff62..6a6312129e0 100644 --- a/source/_integrations/python_script.markdown +++ b/source/_integrations/python_script.markdown @@ -76,12 +76,13 @@ The above `python_script` can be called using the following YAML as an input. ## Documenting your Python scripts -You can add descriptions for your Python scripts that will be shown in the Call Services tab of the Developer Options page. To do so, simply create a `services.yaml` file in your `/python_scripts` folder. Using the above Python script as an example, the `services.yaml` file would look like: +You can add names and descriptions for your Python scripts that will be shown in the frontend. To do so, simply create a `services.yaml` file in your `/python_scripts` folder. Using the above Python script as an example, the `services.yaml` file would look like: ```yaml # services.yaml turn_on_light: - description: Turn on a light and set its color. + name: Turn on light + description: Turn on a specific light and set its color. fields: entity_id: description: The light that will be turned on.