mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
YAMAHA_AVR: don't request additional playback info, when zone is in standby (Forum: #60902)
git-svn-id: https://svn.fhem.de/fhem/trunk@14178 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2c14c75299
commit
14148dac48
@ -1634,7 +1634,7 @@ YAMAHA_AVR_ParseResponse($$$)
|
||||
{
|
||||
readingsBulkUpdate($hash, "input", YAMAHA_AVR_Param2Fhem(lc($1), 0));
|
||||
|
||||
if($data =~ /<Src_Name>(.+?)<\/Src_Name>/)
|
||||
if($data =~ /<Power>On<\/Power>/ and $data =~ /<Src_Name>(.+?)<\/Src_Name>/)
|
||||
{
|
||||
$hash->{helper}{LAST_INPUT_TAG} = $hash->{helper}{CURRENT_INPUT_TAG} if(exists($hash->{helper}{CURRENT_INPUT_TAG}));
|
||||
$hash->{helper}{CURRENT_INPUT_TAG} = $1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user