2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

31_HUEDevice.pm: remove SetExtentions internal on-for-timer timer if a new set is executet (see forum: http://forum.fhem.de/index.php/topic,43093.0.html)

git-svn-id: https://svn.fhem.de/fhem/trunk@9699 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2015-10-27 22:25:47 +00:00
parent 2245cdc8d9
commit 1205ee8dce

View File

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