From fdfe2cb3763f991b6c49f9de47e50c1fbf74390e Mon Sep 17 00:00:00 2001 From: mischa Date: Sat, 2 Nov 2019 10:30:47 +0100 Subject: [PATCH] typo --- daylight-trigger.py | 2 +- lightctl.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/daylight-trigger.py b/daylight-trigger.py index 323846e..bc3005e 100755 --- a/daylight-trigger.py +++ b/daylight-trigger.py @@ -71,7 +71,7 @@ light_state = get_state("lights", light) if debug: print (f"Dark: {sensor_state['dark']}, Daylight: {sensor_state['daylight']}, Light On: {sensor_state['daylight']}") if sensor_state['dark'] and not light_state['on']: - if verbose or debug: print ("Lights ON!") + if verbose or debug: print ("Light ON!") put_state("lights", light, "on") if not sensor_state['dark'] and light_state['on']: if verbose or debug: print ("Light OFF!") diff --git a/lightctl.py b/lightctl.py index 07c58b7..7bbd8e5 100755 --- a/lightctl.py +++ b/lightctl.py @@ -69,7 +69,7 @@ def put_state(type, id, action): light_state = get_state("lights", light) if action == 'on' and not light_state['on']: - if verbose or debug: print ("Lights ON!") + if verbose or debug: print ("Light ON!") put_state("lights", light, "on") if action == 'off' and light_state['on']: if verbose or debug: print ("Light OFF!")