foxy82 / hacs-onkyo-repository

Onkyo Async component to be used whilst waiting for the official version to be updated.
7 stars 0 forks source link

Initialization not working if receiver is offline at startup #1

Closed dawiinci closed 1 year ago

dawiinci commented 1 year ago

If at startup of HA, the receiver is offline, the entity (mediaplayer) is not created. This leads to a missing device.

foxy82 commented 1 year ago

Looking at the code I can see why - we query the avr in the initialization code to get some of the data. I'll have a think about how I can fix this - my AVR's are on standby all the time so i've never seen this.

dawiinci commented 1 year ago

Maybe just give the option do it once or have a manual refresh available.

I don't leave it on, because of energy consumption. It would equal about 20$ a year.