From 15a5050842a636ad77589cadcd179b7d363f4d1d Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Mon, 1 Mar 2021 00:46:07 +0100 Subject: [PATCH] Mention `name` property for services.yaml --- 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 c4e86f22362a..a8712fee97a5 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.