remove commented python code

This commit is contained in:
mischa 2020-06-25 22:22:07 +02:00
parent 53808b4295
commit b4743f94c2
1 changed files with 2 additions and 3 deletions

View File

@ -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);
}