mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 13:24:56 +00:00
YAMAHA_AVR: avoid absent/present state during FHEM startup
git-svn-id: https://svn.fhem.de/fhem/trunk@10164 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ca2a406ed5
commit
50d501e3c4
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user