2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

49_SSCam: contrib 9.5.0

git-svn-id: https://svn.fhem.de/fhem/trunk@22432 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2020-07-19 14:13:57 +00:00
parent 19197214fd
commit b4eba09301

View File

@ -274,7 +274,7 @@ sub Set {
setReadings($hash, \@ado, 0);
$setlist = "Unknown argument $opt, choose one of ".
"adoptFrom:$sd "
"adopt:$sd "
;
}
@ -306,7 +306,7 @@ sub Set {
}
}
} elsif ($opt eq "adoptFrom") {
} elsif ($opt eq "adopt") {
shift @a; shift @a;
$prop = join "#", @a;
@ -706,7 +706,7 @@ sub allStreamDevs {
$sd .= $a;
}
for my $d (@strmdevs) { # Devicenamen zusätzlich als Schlüssel speichern damit set <> adoptFrom ohne Widget funktioniert
for my $d (@strmdevs) { # Devicenamen zusätzlich als Schlüssel speichern damit set <> adopt ohne Widget funktioniert
next if(!$defs{$d});
$sdevs{$d} = "$d";
}
@ -723,7 +723,7 @@ sub sDevsWidget {
my $Adopts;
my $ret = "";
my $cmdAdopt = "adoptFrom";
my $cmdAdopt = "adopt";
my $valAdopts = "--reset--,".allStreamDevs();
for my $fn (sort keys %{$data{webCmdFn}}) {