2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 23:06:37 +00:00

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:
justme-1968 2016-05-08 16:03:41 +00:00
parent fd72a5167d
commit e537669427

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'};