From 26c9bbf49f403d2e6adc8f04ccf1c8eec246d892 Mon Sep 17 00:00:00 2001 From: Nico Hirsch <30938717+noxhirsch@users.noreply.github.com> Date: Wed, 16 Oct 2019 22:23:03 +0200 Subject: [PATCH] Add notice about imports Sometimes people are confused, because their Python scripts with imports don't work. I added a notice about that topic. --- source/_integrations/python_script.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/_integrations/python_script.markdown b/source/_integrations/python_script.markdown index 17c43696999..477c6bb1e67 100644 --- a/source/_integrations/python_script.markdown +++ b/source/_integrations/python_script.markdown @@ -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 +
+ +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/) + +
+ ## Writing your first script - Add to `configuration.yaml`: `python_script:`