mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
98_RandomTimer.pm: add LastCommand reading (forum #102621)
git-svn-id: https://svn.fhem.de/fhem/trunk@19935 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
cc91100a97
commit
0e5ea790a6
@ -173,6 +173,7 @@ sub RandomTimer_device_switch ($) {
|
||||
}
|
||||
$command =~ s/@/$hash->{DEVICE}/g;
|
||||
$command = SemicolonEscape($command);
|
||||
readingsSingleUpdate($hash, 'LastCommand', $command, 1);
|
||||
Log3 $hash, 4, "[".$hash->{NAME}. "]"." command: $command";
|
||||
|
||||
my $ret = AnalyzeCommandChain(undef, $command);
|
||||
|
Loading…
Reference in New Issue
Block a user