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:
parent
2245cdc8d9
commit
1205ee8dce
@ -572,6 +572,9 @@ HUEDevice_Set($@)
|
||||
$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'} ) {
|
||||
$hash->{STATE} = $result->{'error'}->{'description'};
|
||||
return undef;
|
||||
|
Loading…
x
Reference in New Issue
Block a user