mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 20:06:18 +00:00
49_SSCamSTRM: switch time increases with each adoptForTimer command
git-svn-id: https://svn.fhem.de/fhem/trunk@22488 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
39f707c8d1
commit
654935dc4a
@ -456,13 +456,9 @@ sub _setadoptForTimer { ## no critic "not used"
|
|||||||
|
|
||||||
my $sdev;
|
my $sdev;
|
||||||
|
|
||||||
if(!$odev) { # Step 1 -> erster Durchlauf ohne odef
|
if(!$odev) { # Step 1 -> erster Durchlauf ohne odef
|
||||||
if(!$hash->{HELPER}{SWITCHED}) {
|
$hash->{HELPER}{SWITCHED} = $hash->{LINKNAME} if(!$hash->{HELPER}{SWITCHED});
|
||||||
$paref->{odev} = $hash->{LINKNAME}; # bisheriges adoptiertes Device in %params aufnehmen, InternalTimer mitgeben
|
$paref->{odev} = $hash->{HELPER}{SWITCHED}; # bisheriges adoptiertes Device in %params aufnehmen, InternalTimer mitgeben
|
||||||
$hash->{HELPER}{SWITCHED} = $hash->{LINKNAME};
|
|
||||||
} else {
|
|
||||||
$paref->{odev} = $hash->{HELPER}{SWITCHED};
|
|
||||||
}
|
|
||||||
|
|
||||||
} else { # Step 2 -> zweiter Durchlauf mit odef gesetzt
|
} else { # Step 2 -> zweiter Durchlauf mit odef gesetzt
|
||||||
my @a;
|
my @a;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user