mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 07:56:03 +00:00
YAMAHA_AVR: fix unitialized value warning (Forum: #43569)
git-svn-id: https://svn.fhem.de/fhem/trunk@10159 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5e9784bc5a
commit
854c597b56
@ -1,4 +1,4 @@
|
||||
# $Id$
|
||||
# $Id$
|
||||
##############################################################################
|
||||
#
|
||||
# 71_YAMAHA_AVR.pm
|
||||
@ -1145,7 +1145,7 @@ YAMAHA_AVR_ParseResponse ($$$)
|
||||
{
|
||||
Log3 $name, 3, "YAMAHA_AVR ($name) - device $name reappeared";
|
||||
readingsSingleUpdate($hash, "presence", "present", 1);
|
||||
YAMAHA_AVR_SendCommand($hash, "<YAMAHA_AV cmd=\"GET\"><$zone><Basic_Status>GetParam</Basic_Status></$zone></YAMAHA_AV>", "statusRequest", "basicStatus");
|
||||
YAMAHA_AVR_SendCommand($hash, "<YAMAHA_AV cmd=\"GET\"><$zone><Basic_Status>GetParam</Basic_Status></$zone></YAMAHA_AV>", "statusRequest", "basicStatus", {options => {at_first => 1}}) if(defined($zone));
|
||||
}
|
||||
|
||||
$hash->{helper}{AVAILABLE} = 1;
|
||||
@ -1574,9 +1574,9 @@ YAMAHA_AVR_ParseResponse ($$$)
|
||||
|
||||
if(exists($options->{last_layer}) and $options->{last_layer} == $menu_layer and $last and $options->{item_selected})
|
||||
{
|
||||
readingsEndUpdate($hash, 1);
|
||||
YAMAHA_AVR_HandleCmdQueue($hash);
|
||||
return;
|
||||
readingsEndUpdate($hash, 1);
|
||||
YAMAHA_AVR_GetStatus($hash, 1);
|
||||
return;
|
||||
}
|
||||
|
||||
# initialization sequence
|
||||
|
Loading…
x
Reference in New Issue
Block a user