49_SSCam: contrib 9.5.0

git-svn-id: https://svn.fhem.de/fhem/trunk@22444 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
DS_Starter
2020-07-20 19:29:21 +00:00
parent 3fcd49f2e9
commit c1caa6f7c9

View File

@@ -427,12 +427,14 @@ sub Attr {
my ($do,$val); my ($do,$val);
if ($model eq "master" && !$hvattr{$aName}{master}) { if(defined $hvattr{$aName}) {
return qq{The attribute "$aName" is only valid if MODEL is not "$model" !}; if ($model eq "master" && !$hvattr{$aName}{master}) {
} return qq{The attribute "$aName" is only valid if MODEL is not "$model" !};
}
if ($model ne "master" && !$hvattr{$aName}{nomaster}) { if ($model ne "master" && !$hvattr{$aName}{nomaster}) {
return qq{The attribute "$aName" is only valid if MODEL is "master" !}; return qq{The attribute "$aName" is only valid if MODEL is "master" !};
}
} }
if($aName eq "genericStrmHtmlTag" && $hash->{MODEL} ne "generic") { if($aName eq "genericStrmHtmlTag" && $hash->{MODEL} ne "generic") {
@@ -909,8 +911,8 @@ return $ret;
<a name="adoptSubset"></a> <a name="adoptSubset"></a>
<li><b>adoptSubset</b> &nbsp;&nbsp;&nbsp;&nbsp;(only valid for MODEL "master") <br> <li><b>adoptSubset</b> &nbsp;&nbsp;&nbsp;&nbsp;(only valid for MODEL "master") <br>
In a streaming <b>master</b> device a subset of the selectable streaming devices is selected and made available for In a Streaming <b>master</b> Device a subset of all defined Streaming Devices is selected and used for
the <b>adopt</b> command. <br> the <b>adopt</b> command is provided. <br>
For control in the FTUI, the selection is also stored in the Reading of the same name. For control in the FTUI, the selection is also stored in the Reading of the same name.
</li> </li>
<br> <br>
@@ -1173,7 +1175,7 @@ attr &lt;name&gt; genericStrmHtmlTag &lt;img $HTMLATTR
<a name="adoptSubset"></a> <a name="adoptSubset"></a>
<li><b>adoptSubset</b> &nbsp;&nbsp;&nbsp;&nbsp;(nur für MODEL "master") <br> <li><b>adoptSubset</b> &nbsp;&nbsp;&nbsp;&nbsp;(nur für MODEL "master") <br>
In einem Streaming <b>master</b> Device wird eine Teilmenge der selektierbaren Streaming Devices ausgewählt und für In einem Streaming <b>master</b> Device wird eine Teilmenge aller definierten Streaming Devices ausgewählt und für
das <b>adopt</b> Kommando bereitgestellt. <br> das <b>adopt</b> Kommando bereitgestellt. <br>
Für die Steuerung im FTUI wird die Auswahl ebenfalls im gleichnamigen Reading gespeichert. Für die Steuerung im FTUI wird die Auswahl ebenfalls im gleichnamigen Reading gespeichert.
</li> </li>