From dca2d3270051567df092081e7cdcd9c797dca80e Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Wed, 27 May 2020 22:01:34 +0000 Subject: [PATCH] 76_SMAPortal: contrib 2.7.0 git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@22047 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- contrib/DS_Starter/76_SMAPortal.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/DS_Starter/76_SMAPortal.pm b/contrib/DS_Starter/76_SMAPortal.pm index eb5d913e5..2d44281c7 100644 --- a/contrib/DS_Starter/76_SMAPortal.pm +++ b/contrib/DS_Starter/76_SMAPortal.pm @@ -721,7 +721,7 @@ sub GetSetData { ## no cri # Sunny Home Manager Seite abfragen # Abfragezähler setzen (Anzahl tägliche Wiederholungen von GetSetData) - my $cstring = ReadingsVal($name, "daycount", ""); + my $cstring = ReadingsVal($name, "dailyCallCounter", ""); my ($day,$count) = split(":", $cstring); my $mday = (localtime(time))[3]; if(!$day || $day != $mday) { @@ -1761,7 +1761,7 @@ sub setFromBlocking { $hash->{HELPER}{SETTER} = $setp if($setp ne "NULL"); $hash->{HELPER}{oldlogintime} = $logintime if($logintime ne "NULL"); - readingsSingleUpdate($hash, "daycount", $counter, 1) if($counter ne "NULL"); + readingsSingleUpdate($hash, "dailyCallCounter", $counter, 1) if($counter ne "NULL"); return; }