Skip to content

Commit 2cc03ae

Browse files
Br3ndafrenck
authored andcommitted
Corrected a yaml snippet that was labelled as json. (#11872)
1 parent e202315 commit 2cc03ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/_integrations/python_script.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if entity_id is not None:
5656
service_data = {"entity_id": entity_id, "rgb_color": rgb_color, "brightness": 255}
5757
hass.services.call("light", "turn_on", service_data, False)
5858
```
59-
The above `python_script` can be called using the following JSON as an input.
59+
The above `python_script` can be called using the following YAML as an input.
6060

6161
```yaml
6262
entity_id: light.bedroom

0 commit comments

Comments
 (0)