From 0a659816e08e6dea0b02a0f16eec35d6ac188408 Mon Sep 17 00:00:00 2001 From: jpawlowski Date: Sun, 26 Jun 2016 12:18:19 +0000 Subject: [PATCH] 70_ONKYO_AVR.pm: fix missing control elements when device is offline (forum #msg461205) git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11718 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/70_ONKYO_AVR.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/FHEM/70_ONKYO_AVR.pm b/FHEM/70_ONKYO_AVR.pm index e64647e30..98de08684 100644 --- a/FHEM/70_ONKYO_AVR.pm +++ b/FHEM/70_ONKYO_AVR.pm @@ -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);