delete code

This commit is contained in:
Marko Oldenburg 2018-10-26 08:46:59 +02:00
parent e4016fae82
commit b19fd0eea4

View File

@ -888,13 +888,7 @@ sub ThermoHygroSensHandle0x10($$) {
$notification =~ s/\s+//g;
$readings{'temperature'} = pack( 'H*', substr( $notification, 4, 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;
return \%readings;