2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

10_ZWave.pm: fix warning (Forum #102433)

git-svn-id: https://svn.fhem.de/fhem/trunk@19884 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2019-07-22 07:31:24 +00:00
parent c37e123263
commit 73862adb72

View File

@ -3099,7 +3099,7 @@ ZWave_ALARM_05_Report($$$$)
$rt0 = "alarm_type_$t:level $l";
$rt1 = "alarm_$at:level $l";
} elsif ($r =~ m/(..)(..)(..)(..)(..)(.*)/) {
my ($zid, $ns, $t2, $e, $prop, $opt) = ($1, $2, $3, $4, $5, $6);
my ($zid, $ns, $t2, $e, $prop, $opt) = ($1, $2, $3, $4, hex($5), $6);
if ($e ne "00") {
if (($t ne "00") && ($l eq "00")) {