From fddce93b9c679a79029faf8a0f7687dfd9a81cf8 Mon Sep 17 00:00:00 2001 From: Jeremy Pack Date: Thu, 22 Dec 2022 19:14:22 +0000 Subject: [PATCH] Correct typos and gramma (#25308) Co-authored-by: Franck Nijhof --- source/_integrations/python_script.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/_integrations/python_script.markdown b/source/_integrations/python_script.markdown index fef340fd7fa..5ba43f72de0 100644 --- a/source/_integrations/python_script.markdown +++ b/source/_integrations/python_script.markdown @@ -37,15 +37,15 @@ It is not possible to use Python imports with this integration. If you want to d This is a simplified example that does no real work. It is created as a first step, to help with: -- Demonstrate how to setup the script +- Demonstrating how to setup the script - How to process the input data - How to log the script activity - How to troubleshoot / manually call the script. -Start by enabling the Python script and create the first script. +Start by enabling the Python Scripts integration and create the first script. - Add to `configuration.yaml`: `python_script:` -- Create folder `/python_scripts` +- Create the folder `/python_scripts` - Create a file `/python_scripts/hello_world.py` in the folder and give it this content: ```python @@ -82,7 +82,7 @@ logger: The following example shows how to trigger a custom event over the `hass.bus`. This example uses the `hello_world.py` from the previous example. -Edit the file and the code listed below to the end of the file. +Edit the file adding the code listed below to the end of the file. There is no need to reload the configuration or restart Home Assistant. ```python