mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +00:00
55_GDS.pm: minor improvement
git-svn-id: https://svn.fhem.de/fhem/trunk@7660 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8530544347
commit
5b5813c45f
@ -203,6 +203,7 @@ sub GDS_Set($@) {
|
|||||||
when("conditions"){
|
when("conditions"){
|
||||||
readingsSingleUpdate($hash, "state", "active",1);
|
readingsSingleUpdate($hash, "state", "active",1);
|
||||||
retrieveConditions($hash, "c", @a);
|
retrieveConditions($hash, "c", @a);
|
||||||
|
$attr{$name}{gdsSetCond} = ReadingsVal($name,'c_stationName',undef);
|
||||||
$next = gettimeofday()+$hash->{helper}{INTERVAL};
|
$next = gettimeofday()+$hash->{helper}{INTERVAL};
|
||||||
readingsSingleUpdate($hash, "c_nextUpdate", localtime($next), 1);
|
readingsSingleUpdate($hash, "c_nextUpdate", localtime($next), 1);
|
||||||
RemoveInternalTimer($hash);
|
RemoveInternalTimer($hash);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user