delete code
This commit is contained in:
parent
e4016fae82
commit
b19fd0eea4
@ -888,13 +888,7 @@ sub ThermoHygroSensHandle0x10($$) {
|
|||||||
|
|
||||||
$notification =~ s/\s+//g;
|
$notification =~ s/\s+//g;
|
||||||
$readings{'temperature'} = pack( 'H*', substr( $notification, 4, 8 ) );
|
$readings{'temperature'} = pack( 'H*', substr( $notification, 4, 8 ) );
|
||||||
|
$readings{'humidity'} = pack( 'H*', substr( $notification, 18, 8 ) );
|
||||||
# if ( scalar(@numberOfHex) < 14 ) {
|
|
||||||
$readings{'humidity'} = pack( 'H*', substr( $notification, 18, 8 ) );
|
|
||||||
# }
|
|
||||||
# else {
|
|
||||||
# $readings{'humidity'} = pack( 'H*', substr( $notification, 16, 8 ) );
|
|
||||||
# }
|
|
||||||
|
|
||||||
$hash->{helper}{CallBattery} = 0;
|
$hash->{helper}{CallBattery} = 0;
|
||||||
return \%readings;
|
return \%readings;
|
||||||
|
Loading…
Reference in New Issue
Block a user