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:
parent
f36d2174d7
commit
734fa0d3bb
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user