2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-08 13:24:56 +00:00

On-Till fixed

git-svn-id: https://svn.fhem.de/fhem/trunk@525 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2009-12-28 08:01:56 +00:00
parent 3e85bf898d
commit 26fc4be85e

View File

@ -145,7 +145,9 @@ Do_On_Till($@)
my @b = ($a[0], "on");
FS20_Set($hash, @b);
CommandDefine(undef, $hash->{NAME} . "_till at $hms_till set $a[0] off");
my $tname = $hash->{NAME} . "_till";
CommandDelete(undef, $tname) if($defs{$tname});
CommandDefine(undef, "$tname at $hms_till set $a[0] off");
}