Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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