YAMAHA_AVR: fixing not working remoteControl commands for several models (Forum: #41763)
git-svn-id: https://svn.fhem.de/fhem/trunk@9462 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- bugfix: YAMAHA_AVR: fixing not working remoteControl commands for
|
||||
several models
|
||||
- feature: PRESENCE: support for Solaris ping (mode: local-ping)
|
||||
- feature: HUEbridge: added support for HUE scenes
|
||||
(get: scenes; set: savescene, modifyscene, scene)
|
||||
|
||||
@@ -642,8 +642,8 @@ YAMAHA_AVR_Set($@)
|
||||
}
|
||||
elsif($what eq "remoteControl")
|
||||
{
|
||||
# the RX-Vx75 series use a different tag name to access the remoteControl commands
|
||||
my $control_tag = (exists($hash->{MODEL}) and $hash->{MODEL} =~ /RX-V\d75/ ? "Cursor_Control" : "List_Control");
|
||||
# the RX-Vx71, RX-Vx73, RX-Ax10, RX-Ax20 series use a different tag name to access the remoteControl commands
|
||||
my $control_tag = (exists($hash->{MODEL}) and $hash->{MODEL} =~ /^(RX-V\d{1,2}7(1|3)|RX-A\d{1,2}(1|2)0)$/ ? "List_Control" : "Cursor_Control");
|
||||
|
||||
if($a[2] eq "up")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user