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:
parent
ac2b9ab8f9
commit
1846383e55
@ -1963,7 +1963,10 @@ sub ONKYO_AVR_Set($$$) {
|
||||
my $cmd = '';
|
||||
|
||||
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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user