mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-02 17:18:58 +00:00

* Sets front matter defaults * Removes default front matter from section templates/pages * Removes default front matter from addon pages * Removes default front matter from integration pages * Removes default front matter from posts * Removes default front matter from docs pages * Removes default front matter from other pages * Fixes blog category pages
23 lines
850 B
Markdown
23 lines
850 B
Markdown
---
|
|
title: "Script Editor"
|
|
description: "Instructions on how to use the new script editor."
|
|
redirect_from: /docs/script/editor/
|
|
---
|
|
|
|
In Home Assistant 0.52 we introduced the first version of our script editor. If you just created a new configuration with Home Assistant then you're all set! Go to the UI and enjoy.
|
|
|
|
<div class='videoWrapper'>
|
|
<iframe src="https://www.youtube.com/embed/_Rntpcj1CGA" frameborder="0" allowfullscreen></iframe>
|
|
</div>
|
|
|
|
## Updating your configuration to use the editor
|
|
|
|
The script editor reads and writes to the file `scripts.yaml` in your [configuration](/docs/configuration/) folder. Make sure that you have set up the script integration to read from it:
|
|
|
|
```yaml
|
|
# Configuration.yaml example
|
|
script: !include scripts.yaml
|
|
```
|
|
|
|
The content that was under `script:` should now be moved to `scripts.yaml` to be editable.
|