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!")