mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +00:00
76_SMAPortal: contrib 2.7.0
git-svn-id: https://svn.fhem.de/fhem/trunk@22047 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1759126552
commit
a83bfd5606
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user