2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

dummy set logging

git-svn-id: https://svn.fhem.de/fhem/trunk@161 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2008-04-19 11:35:43 +00:00
parent c25b2fbf32
commit 32b0577972

View File

@ -22,7 +22,11 @@ dummy_Set($@)
return "no set value specified" if(int(@a) != 2);
return "Unknown argument $a[1], choose one of *" if($a[1] eq "?");
my $v = $a[1];
Log GetLogLevel($a[0],2), "dummy set $v";
$hash->{CHANGED}[0] = $v;
$hash->{STATE} = $v;
$hash->{READINGS}{state}{TIME} = TimeNow();