mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
LASTIODev changed to LASTInputDev
git-svn-id: https://svn.fhem.de/fhem/trunk@2866 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d906cf1b33
commit
b1cf8a6fed
@ -1134,6 +1134,7 @@ DoSet(@)
|
|||||||
my $dev = $a[0];
|
my $dev = $a[0];
|
||||||
my $hash = $defs{$dev};
|
my $hash = $defs{$dev};
|
||||||
return "Please define $dev first" if(!$hash);
|
return "Please define $dev first" if(!$hash);
|
||||||
|
return "Bogus entry $dev without TYPE" if(!$hash->{TYPE});
|
||||||
return "No set implemented for $dev" if(!$modules{$hash->{TYPE}}{SetFn});
|
return "No set implemented for $dev" if(!$modules{$hash->{TYPE}}{SetFn});
|
||||||
|
|
||||||
# No special handling needed fo the Usage check
|
# No special handling needed fo the Usage check
|
||||||
@ -2591,7 +2592,7 @@ Dispatch($$$)
|
|||||||
}
|
}
|
||||||
$defs{$found}{"${name}_MSGCNT"}++;
|
$defs{$found}{"${name}_MSGCNT"}++;
|
||||||
$defs{$found}{"${name}_TIME"} = TimeNow();
|
$defs{$found}{"${name}_TIME"} = TimeNow();
|
||||||
$defs{$found}{LASTIODev} = $name;
|
$defs{$found}{LASTInputDev} = $name;
|
||||||
}
|
}
|
||||||
DoTrigger($found, undef);
|
DoTrigger($found, undef);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user