From 3c50c02e64e44844555ec8d9562c81016f95d66a Mon Sep 17 00:00:00 2001 From: Federico Granata <3602209+Edo78@users.noreply.github.com> Date: Tue, 11 Feb 2020 22:01:41 +0100 Subject: [PATCH 1/2] Update python_script.markdown --- 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 a6b80ec01bad..fd67f4d9a5c4 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 absolutly 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`. From 7a29675135b7f93027d7c3f3b5c586255e4ffaa7 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 12 Feb 2020 08:30:00 +0100 Subject: [PATCH 2/2] :pencil2: Tweak --- source/_integrations/python_script.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/python_script.markdown b/source/_integrations/python_script.markdown index fd67f4d9a5c4..498d8fff07c6 100644 --- a/source/_integrations/python_script.markdown +++ b/source/_integrations/python_script.markdown @@ -46,7 +46,7 @@ name: you
-Running this script show absolutly no output on the screen but it logs with level `info`. You must have the [Logger](/integrations/logger/) enabled at least for level `info` +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`.