diff --git a/fhem/CHANGED b/fhem/CHANGED index c2d01ff52..20ca952df 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 70_Klafs: minor bugfix for automatic reconnect - change: 72_FB_CALLMONITOR: adapt regexp for dasoertliche.de reverse search - new: 00_KNXIO: new IO-module for KNX/EIB diff --git a/fhem/FHEM/70_Klafs.pm b/fhem/FHEM/70_Klafs.pm index 896416794..57ce250a8 100644 --- a/fhem/FHEM/70_Klafs.pm +++ b/fhem/FHEM/70_Klafs.pm @@ -21,9 +21,6 @@ # Forum: https://forum.fhem.de/index.php?topic=127701 # ############################################################################## -# ToDo -# get SaunaID -############################################################################## package main; use strict; @@ -175,9 +172,9 @@ sub Klafs_CONNECTED { $hash->{Klafs}->{CONNECTED} = $set; if ( $notUseBulk ) { - readingsSingleUpdate($hash,'state',$set,1) if $set eq ReadingsVal($hash->{NAME},'state',''); + readingsSingleUpdate($hash,'state',$set,1) if $set ne ReadingsVal($hash->{NAME},'state',''); } else { - readingsBulkUpdate($hash,'state',$set) if $set eq ReadingsVal($hash->{NAME},'state',''); + readingsBulkUpdate($hash,'state',$set) if $set ne ReadingsVal($hash->{NAME},'state',''); } return; }