mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-09 14:47:00 +00:00
70_Klafs.pm: controlling Hydrawise irrigation
git-svn-id: https://svn.fhem.de/fhem/trunk@26098 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1fa15041b9
commit
7a2e92299c
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user