2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

70_ONKYO_AVR.pm: fix missing control elements when device is offline (forum #msg461205)

git-svn-id: https://svn.fhem.de/fhem/trunk@11718 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2016-06-26 12:18:19 +00:00
parent ac2b9ab8f9
commit 1846383e55

View File

@ -1963,7 +1963,10 @@ sub ONKYO_AVR_Set($$$) {
my $cmd = ''; my $cmd = '';
return "Device is offline and cannot be controlled at that stage." return "Device is offline and cannot be controlled at that stage."
if ( $presence eq "absent" && lc( @$a[1] ) ne "on" ); if ( $presence eq "absent"
&& lc( @$a[1] ) ne "on"
&& lc( @$a[1] ) ne "?"
&& lc( @$a[1] ) ne "help" );
readingsBeginUpdate($hash); readingsBeginUpdate($hash);