55_GDS.pm - improved timezone offset handling
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5648 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -126,7 +126,8 @@ sub GDS_Define($$$) {
|
||||
} else {
|
||||
Log3($name, 3, "GDS $name: No datafile (alerts) found");
|
||||
}
|
||||
readingsSingleUpdate($hash, "state", "active",1);
|
||||
readingsSingleUpdate($hash, '_tzOffset', _calctz(time,localtime(time))*3600, 0);
|
||||
readingsSingleUpdate($hash, 'state', 'active',1);
|
||||
|
||||
return undef;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user