From 1e4701b120474482dac07aa7c284274413188585 Mon Sep 17 00:00:00 2001 From: Federico Granata <3602209+Edo78@users.noreply.github.com> Date: Wed, 12 Feb 2020 08:38:12 +0100 Subject: [PATCH] Update python_script.markdown (#12055) * Update python_script.markdown * :pencil2: Tweak Co-authored-by: Franck Nijhof --- 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 a6b80ec01ba..498d8fff07c 100644 --- a/source/_integrations/python_script.markdown +++ b/source/_integrations/python_script.markdown @@ -44,6 +44,12 @@ hass.bus.fire(name, {"wow": "from a Python script!"}) name: you ``` +
+ +Running this script show absolutely no output on the screen, but it logs with level `info`. You must have the [Logger](/integrations/logger/) enabled at least for level `info`. + +
+ ## Calling Services The following example shows how to call a service from `python_script`. This script takes two parameters: `entity_id` (required), `rgb_color` (optional) and calls `light.turn_on` service by setting the brightness value to `255`.