YAMAHA_AVR: avoid absent/present state during FHEM startup
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@10164 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -112,8 +112,6 @@ YAMAHA_AVR_Define($$)
|
|||||||
$hash->{helper}{CMD_QUEUE} = [];
|
$hash->{helper}{CMD_QUEUE} = [];
|
||||||
delete($hash->{helper}{".HTTP_CONNECTION"}) if(exists($hash->{helper}{".HTTP_CONNECTION"}));
|
delete($hash->{helper}{".HTTP_CONNECTION"}) if(exists($hash->{helper}{".HTTP_CONNECTION"}));
|
||||||
|
|
||||||
YAMAHA_AVR_getModel($hash);
|
|
||||||
|
|
||||||
# In case of a redefine, check the zone parameter if the specified zone exist, otherwise use the main zone
|
# In case of a redefine, check the zone parameter if the specified zone exist, otherwise use the main zone
|
||||||
if(defined($hash->{helper}{ZONES}) and length($hash->{helper}{ZONES}) > 0)
|
if(defined($hash->{helper}{ZONES}) and length($hash->{helper}{ZONES}) > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user