From 669e03af536e194bbed7159f6b68e76b725b0db9 Mon Sep 17 00:00:00 2001 From: perjury Date: Thu, 20 Feb 2020 12:34:02 +0000 Subject: [PATCH] Update python_script.markdown (#12139) Clarification of yaml to call python_script --- source/_integrations/python_script.markdown | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/_integrations/python_script.markdown b/source/_integrations/python_script.markdown index 498d8fff07c6..46b578cdef23 100644 --- a/source/_integrations/python_script.markdown +++ b/source/_integrations/python_script.markdown @@ -65,8 +65,10 @@ if entity_id is not None: The above `python_script` can be called using the following YAML as an input. ```yaml -entity_id: light.bedroom -rgb_color: [255, 0, 0] +service: python_script.turn_on_light + data: + entity_id: light.bedroom + rgb_color: [255, 0, 0] ``` ## Documenting your Python scripts