mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +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:
parent
c37e123263
commit
73862adb72
@ -3099,7 +3099,7 @@ ZWave_ALARM_05_Report($$$$)
|
|||||||
$rt0 = "alarm_type_$t:level $l";
|
$rt0 = "alarm_type_$t:level $l";
|
||||||
$rt1 = "alarm_$at:level $l";
|
$rt1 = "alarm_$at:level $l";
|
||||||
} elsif ($r =~ m/(..)(..)(..)(..)(..)(.*)/) {
|
} 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 ($e ne "00") {
|
||||||
if (($t ne "00") && ($l eq "00")) {
|
if (($t ne "00") && ($l eq "00")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user