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:
Nico Hirsch 2019-10-16 22:23:03 +02:00 committed by GitHub
parent eda261b085
commit 26c9bbf49f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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:`