2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-17 11:26:03 +00:00

31_HUEDevice.pm: added Aqara Cube gesture

git-svn-id: https://svn.fhem.de/fhem/trunk@22899 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2020-10-02 07:12:16 +00:00
parent 577a06e863
commit 8b81263208

View File

@ -1618,6 +1618,9 @@ HUEDevice_Parse($$)
#Heiman Gassensor HS1CG
$readings{carbonmonoxide} = $state->{carbonmonoxide} if( defined($state->{carbonmonoxide}) );
#Aqara Cube
$readings{gesture} = $state->{gesture} if( defined($state->{gesture}) );
}
$hash->{lastupdated} = ReadingsVal( $name, '.lastupdated', '' ) if( !$hash->{lastupdated} );