2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 05:16:45 +00:00

30_HUEBridge.pm: changed devices command to lights

31_HUEDevice.pm: minimum interval for sensors is now 1


git-svn-id: https://svn.fhem.de/fhem/trunk@12584 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2016-11-15 16:37:12 +00:00
parent 1e2efd824d
commit c749ec181e
2 changed files with 4 additions and 4 deletions

View File

@ -756,7 +756,7 @@ HUEBridge_Get($@)
return $ret;
} else {
return "Unknown argument $cmd, choose one of devices:noArg groups:noArg scenes:noArg rule rules:noArg sensors:noArg whitelist:noArg";
return "Unknown argument $cmd, choose one of lights:noArg groups:noArg scenes:noArg rule rules:noArg sensors:noArg whitelist:noArg";
}
}
@ -1535,8 +1535,8 @@ HUEBridge_Attr($$$)
<a name="HUEBridge_Get"></a>
<b>Get</b>
<ul>
<li>devices<br>
list the devices known to the bridge.</li>
<li>lights<br>
list the lights known to the bridge.</li>
<li>groups<br>
list the groups known to the bridge.</li>
<li>scenes [detail]<br>

View File

@ -321,7 +321,7 @@ sub HUEDevice_Define($$)
} elsif( $hash->{helper}->{devtype} eq 'S' ) {
$hash->{DEF} = "sensor $id $args[3] IODev=$iodev";
$interval = 60 if( $interval && $interval < 5 );
$interval = 60 if( $interval && $interval < 1 );
$hash->{INTERVAL} = $interval;
}