2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

76_SMAPortal: contrib 3.1.0

git-svn-id: https://svn.fhem.de/fhem/trunk@22213 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2020-06-20 17:24:31 +00:00
parent faf9bcbe43
commit 2629275cad

View File

@ -665,7 +665,8 @@ sub Attr {
}
readingsBeginUpdate($hash);
readingsBulkUpdate ($hash, "state", $val);
readingsBulkUpdate ($hash, "state", $val);
readingsBulkUpdate ($hash, "loginState", "unknown");
readingsEndUpdate ($hash, 1);
InternalTimer(gettimeofday()+2.0, "FHEM::SMAPortal::SPGRefresh", "$name,0,1", 0);
@ -1777,7 +1778,7 @@ sub ParseData { ## no critic
@da = split "###", $lc;
}
deleteData($hash, 1);
deleteData($hash, 1) if($getp ne "none"); # Daten nur löschen wenn Datenabruf (kein Verbraucher schalten)
readingsBeginUpdate($hash);