From dc1c61449ecfac667d045b623ca40f41b0a4e58a Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sun, 8 May 2016 14:28:55 +0000 Subject: [PATCH] SetExtensions.pm: Internal Hash rename git-svn-id: https://svn.fhem.de/fhem/trunk@11411 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/SetExtensions.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fhem/FHEM/SetExtensions.pm b/fhem/FHEM/SetExtensions.pm index ebefc4d4a..0bf4051fc 100644 --- a/fhem/FHEM/SetExtensions.pm +++ b/fhem/FHEM/SetExtensions.pm @@ -17,12 +17,12 @@ SetExtensionsCancel($) return undef if( !$hash ); my $name = $hash->{NAME}; - return undef if( !$hash->{SetExtensionTimer} ); - my $cmd = $hash->{SetExtensionTimer}{CMD}; + return undef if( !$hash->{TIMED_OnOff} ); + my $cmd = $hash->{TIMED_OnOff}{CMD}; RemoveInternalTimer("SE $name $cmd"); - delete $hash->{SetExtensionTimer}; + delete $hash->{TIMED_OnOff}; return undef; } @@ -84,7 +84,7 @@ SetExtensions($$@) return "$cmd requires a number as argument" if($param !~ m/^\d*\.?\d*$/); if($param) { - $hash->{SetExtensionTimer} = { + $hash->{TIMED_OnOff} = { START=>time(), START_FMT=>TimeNow(), DURATION=>$param, CMD=>$cmd }; DoSet($name, $cmd1); @@ -175,7 +175,7 @@ SetExtensionsFn($) my $hash = $defs{$name}; return if(!$hash); - delete $hash->{SetExtensionTimer}; + delete $hash->{TIMED_OnOff}; if($cmd eq "on-for-timer") { DoSet($name, "off");