change clear glass humidity syntax
This commit is contained in:
parent
44deb1c2d6
commit
70862e57aa
@ -1112,7 +1112,7 @@ sub ClearGrassSensHandle0x1e($$) {
|
|||||||
$notification =~ s/\s+//g;
|
$notification =~ s/\s+//g;
|
||||||
|
|
||||||
$readings{'temperature'} = hex(substr( $notification, 4, 2 ) )/10;
|
$readings{'temperature'} = hex(substr( $notification, 4, 2 ) )/10;
|
||||||
$readings{'humidity'} = hex(substr( $notification, 8, 2 ) );
|
$readings{'humidity'} = hex(substr($notification,11,1) .substr($notification,8,2))/10;
|
||||||
|
|
||||||
$hash->{helper}{CallBattery} = 0;
|
$hash->{helper}{CallBattery} = 0;
|
||||||
return \%readings;
|
return \%readings;
|
||||||
@ -1532,7 +1532,7 @@ sub CometBlueBTLE_CmdlinePreventGrepFalsePositive($) {
|
|||||||
],
|
],
|
||||||
"release_status": "stable",
|
"release_status": "stable",
|
||||||
"license": "GPL_2",
|
"license": "GPL_2",
|
||||||
"version": "v2.7.53",
|
"version": "v2.7.54",
|
||||||
"author": [
|
"author": [
|
||||||
"Marko Oldenburg <leongaultier@gmail.com>"
|
"Marko Oldenburg <leongaultier@gmail.com>"
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user