lucasvdh / com.yamaha.receiver

Yamaha receiver app for Homey
GNU General Public License v3.0
3 stars 5 forks source link

[BUG] Receiver device initially disabled #4

Closed lucasvdh closed 5 years ago

lucasvdh commented 5 years ago

When the app starts and initializes the devices all receivers are initially set to unavailable. Because the receiver bases it refresh rate on the availability of the device it takes a while for the Homey to see that the device is actually available. This is also the case when a new receiver device is added.

What needs to be done is check why the availability is set to unavailable and prevent this. Because this is not default behavior it probably means that there is a logic error in the code that sets the availability of the device.

lucasvdh commented 5 years ago

Fixed by just initially setting state of device to available