2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

47_OBIS: small Bugfix to prev. commit

git-svn-id: https://svn.fhem.de/fhem/trunk@15760 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Icinger 2018-01-02 21:09:35 +00:00
parent 97f9ffab87
commit 66cdc3d4b6

View File

@ -657,7 +657,7 @@ sub OBIS_Attr(@)
}
}
if ($aName eq "alignTime") {
if ($hash->{helper}{DEVICES}[1]>0) {
if ($hash->{helper}{DEVICES}[1]>0 || !$init_done) {
if ($aVal=~/\d+/) {
RemoveInternalTimer($hash);
$hash->{helper}{TRIGGERTIME}=gettimeofday();