You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,13 +59,11 @@ this [README](https://github.com/craigbarratt/hass-pyscript-jupyter/blob/master/
59
59
60
60
## Configuration
61
61
62
-
* Add `pyscript:` to `<config>/configuration.yaml`; pyscript has one optional
63
-
configuration parameter that allows any python package to be imported if set, eg:
62
+
* Go to the Integrations menu in the Home Assistant Configuration UI and add `Pyscript Python scripting` from there, or add `pyscript:` to `<config>/configuration.yaml`; pyscript has one optional configuration parameter that allows any python package to be imported if set, eg:
64
63
```yaml
65
64
pyscript:
66
65
allow_all_imports: true
67
66
```
68
-
* Create the folder `<config>/pyscript`
69
67
* Add files with a suffix of `.py` in the folder `<config>/pyscript`.
70
68
* Restart HASS.
71
69
* Whenever you change a script file, make a `reload` service call to `pyscript`.
"description": "Once you have created an entry, refer to the [docs](https://hacs-pyscript.readthedocs.io/en/latest/) to learn how to create scripts and functions.",
"description": "Once you have created an entry, refer to the [docs](https://hacs-pyscript.readthedocs.io/en/latest/) to learn how to create scripts and functions.",
Copy file name to clipboardExpand all lines: info.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,8 +23,7 @@ See the documentation if you want to install pyscript manually.
23
23
24
24
## Configuration
25
25
26
-
* Add `pyscript:` to `<config>/configuration.yaml`; there is one optional parameter (see docs)
27
-
* Create the folder `<config>/pyscript`
26
+
* Go to the Integrations menu in the Home Assistant Configuration UI and add `Pyscript Python scripting` from there, or add `pyscript:` to `<config>/configuration.yaml`; there is one optional parameter (see docs)
28
27
* Add files with a suffix of `.py` in the folder `<config>/pyscript`.
29
28
* Whenever you change a script file, make a `reload` service call to `pyscript`.
30
29
* Watch the HASS log for `pyscript` errors and logger output from your scripts.
0 commit comments