fixed: minor bugs

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3826 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2013-08-31 09:55:23 +00:00
parent 195ea6531b
commit 2d29ac6dbc

View File

@ -186,6 +186,7 @@ sub GDS_Set($@) {
} }
when("conditions"){ when("conditions"){
readingsSingleUpdate($hash, "state", "active",1);
retrieveConditions($hash, "c", @a); retrieveConditions($hash, "c", @a);
$next = gettimeofday()+$hash->{helper}{INTERVAL}; $next = gettimeofday()+$hash->{helper}{INTERVAL};
readingsSingleUpdate($hash, "c_nextUpdate", localtime($next), 1); readingsSingleUpdate($hash, "c_nextUpdate", localtime($next), 1);