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/fhem@12584 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2016-11-15 16:37:12 +00:00
parent a7409d1f27
commit cd5622ed19
2 changed files with 4 additions and 4 deletions

View File

@ -756,7 +756,7 @@ HUEBridge_Get($@)
return $ret; return $ret;
} else { } 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> <a name="HUEBridge_Get"></a>
<b>Get</b> <b>Get</b>
<ul> <ul>
<li>devices<br> <li>lights<br>
list the devices known to the bridge.</li> list the lights known to the bridge.</li>
<li>groups<br> <li>groups<br>
list the groups known to the bridge.</li> list the groups known to the bridge.</li>
<li>scenes [detail]<br> <li>scenes [detail]<br>

View File

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