2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-19 18:56:03 +00:00

74_XiaomiBTLESens: fix warning Illegal hexadecimal digit

git-svn-id: https://svn.fhem.de/fhem/trunk@17604 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
LeonGaultier 2018-10-23 09:18:34 +00:00
parent 590d4bc69f
commit ff14b9045e
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
- bugfix: 74_XiaomiBTLESens : fix warning Illegal hexadecimal digit
ignored
- bugfix: 93_DbLog: timer not deleted if reopen after reopen xxx executed
(forum.fhem.de/index.php/topic,91869.msg848433.html#msg848433)
- feature: 70_ZoneMinder: added attribute loginInterval and setter for login

View File

@ -35,7 +35,7 @@ package main;
use strict;
use warnings;
my $version = "2.4.2";
my $version = "2.4.3";
sub XiaomiBTLESens_Initialize($) {
@ -860,6 +860,7 @@ sub ThermoHygroSensHandle0x18($$) {
Log3 $name, 4, "XiaomiBTLESens ($name) - Thermo/Hygro Sens Handle0x18";
chomp($notification);
$notification =~ s/ //g;
### neue Vereinheitlichung für Batteriereadings Forum #800017
$readings{'batteryPercent'} = hex( "0x" . $notification );