From 20d19b003ca88cdd3d25d774d9eb93a0e143fe22 Mon Sep 17 00:00:00 2001 From: Wzut <> Date: Sun, 12 Jan 2020 18:37:37 +0000 Subject: [PATCH] 98_readingsWatcher.pm: add AND / OR for readings git-svn-id: https://svn.fhem.de/fhem/trunk@20957 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_readingsWatcher.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/98_readingsWatcher.pm b/fhem/FHEM/98_readingsWatcher.pm index 738cc0b88..8f5e818b4 100644 --- a/fhem/FHEM/98_readingsWatcher.pm +++ b/fhem/FHEM/98_readingsWatcher.pm @@ -358,8 +358,8 @@ sub OnTimer($) { push @devices, $deviceName if !grep {/$deviceName/} @devices; # keine doppelten Namen - $or_and = 1 if (index($_,'+') != -1); # Readings beim auswerten AND - $_ =~ s/\+/,/g; # eventuell vorhandene + auch in Komma wandeln + $or_and = 1 if (index($rSA,'+') != -1); # Readings beim auswerten AND + $rSA =~ s/\+/,/g ; # eventuell vorhandene + auch in Komma wandeln # rSA: timeout, errorValue, reading1, reading2, reading3, ... # 120,---,temperature,humidity,battery