2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-07 12:58:13 +00:00

Vergleichen Sie bitte nicht Äpfel mit Birnen

git-svn-id: https://svn.fhem.de/fhem/trunk@1507 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
oskarfessel 2012-04-29 20:22:45 +00:00
parent f36d2174d7
commit 734fa0d3bb

View File

@ -215,7 +215,7 @@ LUXTRONIK2_GetStatus($)
$value = $wpOpStat1{$switch};
$value = "unbekannt (".$switch.")" unless $value;
if($hash->{READINGS}{$sensor}{VAL} != $value) {
if($hash->{READINGS}{$sensor}{VAL} ne $value) {
$hash->{READINGS}{$sensor}{TIME} = TimeNow();
$hash->{READINGS}{$sensor}{VAL} = $value;
$hash->{CHANGED}[$cc++] = $sensor.": ".$value;
@ -235,7 +235,7 @@ LUXTRONIK2_GetStatus($)
}
$value = "unbekannt (".$switch.")" unless $value;
if($hash->{READINGS}{$sensor}{VAL} != $value) {
if($hash->{READINGS}{$sensor}{VAL} ne $value) {
$hash->{READINGS}{$sensor}{TIME} = TimeNow();
$hash->{READINGS}{$sensor}{VAL} = $value;
$hash->{CHANGED}[$cc++] = $sensor.": ".$value;
@ -253,7 +253,7 @@ LUXTRONIK2_GetStatus($)
$value = $wpMode{$switch};
$value = "unbekannt (".$switch.")" unless $value;
if($hash->{READINGS}{$sensor}{VAL} != $value) {
if($hash->{READINGS}{$sensor}{VAL} ne $value) {
$hash->{READINGS}{$sensor}{TIME} = TimeNow();
$hash->{READINGS}{$sensor}{VAL} = $value;
$hash->{CHANGED}[$cc++] = $sensor.": ".$value;
@ -265,7 +265,7 @@ LUXTRONIK2_GetStatus($)
$value = $wpMode{$switch};
$value = "unbekannt (" . $switch . ")" unless $value;
if($hash->{READINGS}{$sensor}{VAL} != $value) {
if($hash->{READINGS}{$sensor}{VAL} ne $value) {
$hash->{READINGS}{$sensor}{TIME} = TimeNow();
$hash->{READINGS}{$sensor}{VAL} = $value;
$hash->{CHANGED}[$cc++] = $sensor.": ".$value;