I’m seeing similar behaviour as well. Unfortunately I haven’t been able to reproduce the steps required to make it occur, otherwise I would have created an issue on the Github page.
Same problem here on 0.100.1. I have 4x ApplyTV 4th gens and they worked for a few weeks, but I haven’t been able to reconnect despite multiple reboots and disabling/enabling home sharing…
I’m making lots of progress with pyatv but I wouldn’t expect any real updates to home Assistant before end of year. But it might be both earlier or later. Working as fast and hard as I can!
It was bound to happen (deprecation of legacy protocols). It was mainly I that was slow adapting, I implemented most stuff almost two years ago. So… But I will hopefully get something up and running by next week that is testable.
Unfortunately I can’t test it right now. but your hard work is much appreciated. I currently use the workaround from chamberlain which works somewhat okayish for the time being. If I find the time to help test it I will try it. But I have the utmost confidence in you!
Thanks for your hard work on this @postlund. The beta integration worked perfectly for me!
Is there anything special required to also associate an apple remote controller? For some reason, I have never been able to get the apple tv to wake by using the media_player.turn_on service, however, it used to work for me via the remote.turn_on and that does not seem to have come across with the integration…
What exactly do you mean when you say “apple remote controller”? The remote is there, like before, but turning on or off is not implemented yet. Code-wise, the media player and the remote is exactly the same when it comes to turn_on and turn_off (even in the component that is currently in Home Assistant).
Since it’s not really possible to turn off a device without hacks (e.g. navigating menus), I won’t be able to implement it fully. I can do suspend (on Apple TV 4 or later) but that doesn’t play with CEC, so other devices will not turn off. Turning on is pretty much the same thing. A device will turn on itself (and CEC devices) whenever someone talks to it. It is not possible to “see” if a device is on, so if CEC is used, TV is off and home Assistant is restarted, then everything will turn on. Nothing has changed in this area and this is the way Apple has designed it (I’m afraid). The start_off setting was added to circumvent this at least a little I will introduce that setting in this component as well.
Hi @postlund. I have an early version of an LG TV (WEBOS) which is connected to my Apple TV V4.
The only way I have been able to turn on the LG TV using Home Assistant is by turning on the Apple TV first which then wakes the TV via the HDMI connection.
I have never been able to do this with the media_player.turn_on service for the Apple TV itself ( I get a “update_playing” not defined when calling the service). However, I have in the past been able to do this using turn_on for the remote entity_id. Sadly this is also no longer working - hence my question to you.
I can turn off everything by using the media_player.turn_off on the LG TV and this, in turn, also shuts down the Apple TV too (via HDMI).