Skip to content

Commit

Permalink
Update python_script.markdown (home-assistant#12139)
Browse files Browse the repository at this point in the history
Clarification of yaml to call  python_script
  • Loading branch information
perjury authored Feb 20, 2020
1 parent 4f4053e commit 669e03a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/_integrations/python_script.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 669e03a

Please sign in to comment.