From 14b82f1953e99ffc2bc45f567fd2b72fa00dbe0c Mon Sep 17 00:00:00 2001 From: oskarfessel Date: Tue, 1 May 2012 08:45:51 +0000 Subject: [PATCH] 23_LUXTRONIK2.pm jetzt mit Softwarestand der Waermepumpe git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1512 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- contrib/23_LUXTRONIK2.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/23_LUXTRONIK2.pm b/contrib/23_LUXTRONIK2.pm index a4e980d7a..d788fcdbf 100644 --- a/contrib/23_LUXTRONIK2.pm +++ b/contrib/23_LUXTRONIK2.pm @@ -210,10 +210,10 @@ LUXTRONIK2_GetStatus($) # Erst die operativen Stati und Parameterenstellungen - if(AttrVal($hash->{NAME}, "firmware", "none") ne "none") { - $attr{$hash->{NAME}}{firmware} = $heatpump_values[81]; + if(AttrVal($hash->{NAME}, "firmware", "none") eq "none") { + $attr{$hash->{NAME}}{firmware} = chr($heatpump_values[81]); for(my $fi=82; $fi<91; $fi++) { - $attr{$hash->{NAME}}{firmware} .= $heatpump_values[$fi]; + $attr{$hash->{NAME}}{firmware} .= chr($heatpump_values[$fi]); } }