Corrected a yaml snippet that was labelled as json. (#11872)

This commit is contained in:
Brenda Wallace 2020-01-27 09:46:09 +13:00 committed by Franck Nijhof
parent e20231575d
commit 2cc03ae6f4

View File

@ -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