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