From 15fac9ae63abcf0971b2ba7308b03bccd0871fdb Mon Sep 17 00:00:00 2001 From: realraum Date: Tue, 28 Sep 2010 01:41:50 +0000 Subject: [PATCH] ... --- switch-power.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/switch-power.py b/switch-power.py index 186ccd1..f9c5b99 100755 --- a/switch-power.py +++ b/switch-power.py @@ -144,6 +144,7 @@ def switchLogo(status_presence): else: logo_action=True if not logo_action is None: + logging.info("switchLogo: logo_action:%s" % str(logo_action)) for id in uwscfg.slug_ids_logo.split(" "): switchPower(id,logo_action) @@ -222,14 +223,14 @@ def eventNobodyHere(): logging.info("event: noone here, switching off: "+present_ids) present_id_list=present_ids.split(" ") for id in present_id_list: - time.sleep(0.2) + time.sleep(0.15) switchPower(id,False) present_id_list.reverse() - time.sleep(0.2) + time.sleep(0.15) switchLogo(status_presence) - time.sleep(4) + time.sleep(2) for id in present_id_list: - time.sleep(0.3) + time.sleep(0.15) switchPower(id,False) ##def eventPanic(): -- 1.7.10.4