I made some small fixes to support turning off a device. I've tested the code with my Audio Pro A10 and it seems to work fine.
I do get communication errors when the device is turned off, but that also happens when I turn off the device with the physical on/off button so it does not have anything to do with this PR. I'll look into those errors at a later time and submit a separate PR.
I made some small fixes to support turning off a device. I've tested the code with my Audio Pro A10 and it seems to work fine.
I do get communication errors when the device is turned off, but that also happens when I turn off the device with the physical on/off button so it does not have anything to do with this PR. I'll look into those errors at a later time and submit a separate PR.