mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 13:56:53 +00:00
Add notice about imports
Sometimes people are confused, because their Python scripts with imports don't work. I added a notice about that topic.
This commit is contained in:
parent
eda261b085
commit
26c9bbf49f
@ -19,6 +19,12 @@ This integration allows you to write Python scripts that are exposed as services
|
||||
[hass-api]: /developers/development_hass_object/
|
||||
[logger-api]: https://docs.python.org/3.4/library/logging.html#logger-objects
|
||||
|
||||
<div class='note'>
|
||||
|
||||
It is not possible to use Python imports with this integration. If you want to do more advanced scripts, you can take a look at [AppDaemon](/docs/ecosystem/appdaemon/)
|
||||
|
||||
</div>
|
||||
|
||||
## Writing your first script
|
||||
|
||||
- Add to `configuration.yaml`: `python_script:`
|
||||
|
Loading…
x
Reference in New Issue
Block a user