mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
31_HUEDevice.pm: cancel -till commands
git-svn-id: https://svn.fhem.de/fhem/trunk@12682 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
fa4fd4beb1
commit
d235253ec9
@ -750,7 +750,11 @@ HUEDevice_Set($@)
|
||||
$result = HUEDevice_ReadFromServer($hash,"$hash->{ID}/state",\%obj);
|
||||
}
|
||||
|
||||
SetExtensionsCancel($hash) if( !$hash->{InSetExtensions} );
|
||||
if( !$hash->{InSetExtensions} ) {
|
||||
SetExtensionsCancel($hash);
|
||||
my $at = $name ."_till";
|
||||
CommandDelete(undef, $at) if($defs{$at});
|
||||
}
|
||||
|
||||
if( defined($result) && $result->{'error'} ) {
|
||||
$hash->{STATE} = $result->{'error'}->{'description'};
|
||||
|
Loading…
Reference in New Issue
Block a user