From d75212faf60dece466cc0ecd3a03a8a9b76a63b6 Mon Sep 17 00:00:00 2001 From: kuzl <> Date: Thu, 17 Sep 2015 17:07:19 +0000 Subject: [PATCH] 98_LW12.pm: fixed Warning line 478 git-svn-id: https://svn.fhem.de/fhem/trunk@9268 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/98_LW12.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/contrib/98_LW12.pm b/fhem/contrib/98_LW12.pm index 3046b9de6..4d6b5dd29 100644 --- a/fhem/contrib/98_LW12.pm +++ b/fhem/contrib/98_LW12.pm @@ -475,7 +475,7 @@ sub LW12_updateStatus( $ ) { return if IsDisabled($name); my $res = LW12_Write( $hash, "\x{EF}\x{01}\x{77}" ); - if ($res != 0){ + if (hex($res) != 0){ $res = uc($res); my @colors = ( $res =~ m/..?/g );