From 2cc03ae6f4cd2dc9a09b3fd8e3b27fb714c2c11a Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Mon, 27 Jan 2020 09:46:09 +1300 Subject: [PATCH] Corrected a yaml snippet that was labelled as json. (#11872) --- source/_integrations/python_script.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/python_script.markdown b/source/_integrations/python_script.markdown index 7f312483f38..a6b80ec01ba 100644 --- a/source/_integrations/python_script.markdown +++ b/source/_integrations/python_script.markdown @@ -56,7 +56,7 @@ if entity_id is not None: service_data = {"entity_id": entity_id, "rgb_color": rgb_color, "brightness": 255} hass.services.call("light", "turn_on", service_data, False) ``` -The above `python_script` can be called using the following JSON as an input. +The above `python_script` can be called using the following YAML as an input. ```yaml entity_id: light.bedroom