mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
added fix to commandref
git-svn-id: https://svn.fhem.de/fhem/trunk@2118 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4e144f4132
commit
dcb2b6dc84
@ -151,13 +151,13 @@ YAMAHA_AVR_Get($@)
|
||||
$what = $a[1];
|
||||
|
||||
|
||||
if($what =~ /^(power|input|volume|mute)$/)
|
||||
if($what =~ /^(power|input|volume_level|mute)$/)
|
||||
{
|
||||
YAMAHA_AVR_GetStatus($hash, 1);
|
||||
|
||||
if(defined($hash->{READINGS}{$what}))
|
||||
{
|
||||
return $a[0]." ".$what." => ".$hash->{READINGS}{$what}{VAL};
|
||||
return $hash->{READINGS}{$what}{VAL};
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -166,7 +166,7 @@ YAMAHA_AVR_Get($@)
|
||||
}
|
||||
else
|
||||
{
|
||||
return "Unknown argument $what, choose one of param power input volume mute get";
|
||||
return "Unknown argument $what, choose one of param power input volume_level mute get";
|
||||
}
|
||||
}
|
||||
|
||||
@ -545,7 +545,7 @@ mute off</pre>
|
||||
<pre>power
|
||||
input
|
||||
mute
|
||||
volume</pre>
|
||||
volume_level</pre>
|
||||
</ul>
|
||||
<a name="YAMAHA_AVRattr"></a>
|
||||
<b>Attributes</b>
|
||||
|
Loading…
x
Reference in New Issue
Block a user