mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
31_HUEDevice.pm: create temperature reading from config (xiaomi sensors)
git-svn-id: https://svn.fhem.de/fhem/trunk@18731 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6f3b47794d
commit
f7b81eb55f
@ -1239,6 +1239,7 @@ HUEDevice_Parse($$)
|
|||||||
|
|
||||||
$readings{battery} = $config->{battery} if( defined($config->{battery}) );
|
$readings{battery} = $config->{battery} if( defined($config->{battery}) );
|
||||||
$readings{reachable} = $config->{reachable} if( defined($config->{reachable}) );
|
$readings{reachable} = $config->{reachable} if( defined($config->{reachable}) );
|
||||||
|
$readings{temperature} = $config->{temperature} * 0.01 if( defined($config->{temperature}) );
|
||||||
}
|
}
|
||||||
|
|
||||||
my $lastupdated;
|
my $lastupdated;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user