31_HUEDevice.pm: use SetExtensionsCancel instead of direct InternalTimer access

git-svn-id: https://svn.fhem.de/fhem/trunk@11415 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2016-05-08 16:03:41 +00:00
parent 0011ad3b5a
commit 0b578bb5c9

View File

@@ -674,8 +674,7 @@ HUEDevice_Set($@)
$result = HUEDevice_ReadFromServer($hash,"$hash->{ID}/state",\%obj);
}
RemoveInternalTimer("SE $name on-for-timer");
#RemoveInternalTimer("SE $name off-for-timer");
SetExtensionsCancel($hash);
if( defined($result) && $result->{'error'} ) {
$hash->{STATE} = $result->{'error'}->{'description'};