From b4743f94c2696958ef088d468f68ddab64c1b8f9 Mon Sep 17 00:00:00 2001 From: mischa Date: Thu, 25 Jun 2020 22:22:07 +0200 Subject: [PATCH] remove commented python code --- huectl.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/huectl.pl b/huectl.pl index 6256f42..9301417 100755 --- a/huectl.pl +++ b/huectl.pl @@ -38,8 +38,8 @@ bridge-name as defined in [HOME]./hue.conf or [HOME]./.hue.conf or /etc/hue.c -c | --climate show temperature of sensors in C, only relevant with sensors -a | --action [ on | off | state | bright | relax | morning | dimmed | evening | nightlight ] (default: state) -v | --verbose --d | --debug JSON output --p | --pretty pretty JSON output (can be a lot) +-d | --debug raw JSON output +-p | --pretty pretty JSON output Command examples: $0 bridge1 @@ -263,7 +263,6 @@ sub daylight_trigger { my $light = _get_state_for("lights", $RESOURCE_ID); my $sensor = _get_state_for("sensors", $SENSOR_ID); say "Dark: $sensor->{'dark'}, Daylight: $sensor->{'daylight'}, Light On: $light->{'on'}" if ($VERBOSE || $DEBUG); - #print (f"Dark: {sensor_state['dark']}, Daylight: {sensor_state['daylight']}, Light On: {sensor_state['daylight']}") if ($sensor->{'dark'} && ! $light->{'on'}) { _change_state_for("lights", $RESOURCE_ID, $ACTION); }