31_HUEDevice.pm: better async set handling for sensors

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13711 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2017-03-15 12:30:42 +00:00
parent 5c14f0743b
commit 07ee96802f

View File

@ -652,6 +652,8 @@ HUEDevice_Set($@)
my $id = $hash->{ID}; my $id = $hash->{ID};
$id = $1 if( $id =~ m/^S(\d.*)/ ); $id = $1 if( $id =~ m/^S(\d.*)/ );
$hash->{".triggerUsed"} = 1;
if( $cmd eq "statusRequest" ) { if( $cmd eq "statusRequest" ) {
RemoveInternalTimer($hash); RemoveInternalTimer($hash);
HUEDevice_GetUpdate($hash); HUEDevice_GetUpdate($hash);