mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-19 18:56:03 +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:
parent
faf9bcbe43
commit
2629275cad
@ -665,7 +665,8 @@ sub Attr {
|
|||||||
}
|
}
|
||||||
|
|
||||||
readingsBeginUpdate($hash);
|
readingsBeginUpdate($hash);
|
||||||
readingsBulkUpdate ($hash, "state", $val);
|
readingsBulkUpdate ($hash, "state", $val);
|
||||||
|
readingsBulkUpdate ($hash, "loginState", "unknown");
|
||||||
readingsEndUpdate ($hash, 1);
|
readingsEndUpdate ($hash, 1);
|
||||||
|
|
||||||
InternalTimer(gettimeofday()+2.0, "FHEM::SMAPortal::SPGRefresh", "$name,0,1", 0);
|
InternalTimer(gettimeofday()+2.0, "FHEM::SMAPortal::SPGRefresh", "$name,0,1", 0);
|
||||||
@ -1777,7 +1778,7 @@ sub ParseData { ## no critic
|
|||||||
@da = split "###", $lc;
|
@da = split "###", $lc;
|
||||||
}
|
}
|
||||||
|
|
||||||
deleteData($hash, 1);
|
deleteData($hash, 1) if($getp ne "none"); # Daten nur löschen wenn Datenabruf (kein Verbraucher schalten)
|
||||||
|
|
||||||
readingsBeginUpdate($hash);
|
readingsBeginUpdate($hash);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user