Merge pull request #10830 from noxhirsch/patch-1

Add notice about imports
This commit is contained in:
Franck Nijhof 2019-10-16 22:53:32 +02:00 committed by GitHub
commit 280b773e8c
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:`