Apple TV Integration - tvOS 15 Beta

After updating to HASS 2021.12.9, tvOS beta integration only returns “playing” or “idle” status. Used to be “paused”, “stopped”, etc. Anybody knows a fix for this?

What is the interaction between the remote being “off” or “on” versus the media_player entity?

When you have it set to turn on the device when HA starts… is that the remote, the media_player, or both?

The remote and media player share the same state. So when when a connection is made to the Apple TV, both turn on. The media player can however have other states which are also considered “on” (=having a connection to the device), e.g. standby, play, pause, etc.

hm. This isn’t happening here. For example, if the remote is off, then I can’t do anything with media_player - interacting with it in media player card does nothing. I have to turn the remote “on” in order for the media player controls to work.

If the remote is “on” I can send on/off the the media_player and it will appropriately control the ATV.

It seems the remote never turns on at all without me manually doing it.

Can you clear the log, toggle power state (turn off/on) and verify if you see a BlockedStateError? If that’s the case, then it’s a known issue and will be fixed with the next release.

I updated to tvOS 15.3 (19K545) last night.

Now I don’t have direct app controls anymore, is anybody else having the same issue.

Otherwise all seems to work just fine.

Most people are on 15.2. Any new features in 15.3 that you’ve noticed though? lol.

Any errors in the log?

It’s weird, it started working again, no errors were found. I do notice that occasionally I have to re-Authenticate but only on one of my Apple TV’s

A small price to pay for some great controls you have made possible! I really appreciate your work on this integration. It’s awesome!

1 Like

Honestly, I haven’t noticed anything as of yet.

I hope with iOS 16 they make some great changes since it seems like 15 was more focused on bug fixes and tweaks to prevent a terrible mess ios14 was.

Now that everything is stable my fingers are crossed that 16 has some serious big features! I would love a “Home” overhaul with new icons and features. The current controls and options are far too basic imo.

And a bit off topic, for the love of all that’s holy, could we please get AirTag sharing?? That product has so much potential and a great price but without being able to share access it’s not as useful as it could be!

Hey guys,

I have an Apple TV 4K and the new 4K. New version is working great with the beta, but after trying to set up some automations for the old one, I discovered that its not reporting anything.

It looks fine, but the Firmware is not right. And it never changes from a state of off

There also seems to be no way to delete and try discovery again?

How can I do that?

Thanks :slight_smile:

Also, no errors in the logs that I can see.

Hey mate,

How do you remove the apple TV, I see nothing under devices for that?

EDIT!!!

IGNORE THE LAST TWO POSTS

Worked it out remove the Apple TV from here

Downgrade to previous version, remove the integrations and then upgrade or remove the Apple TV entries manually from .storage/core.config_entries .

And it will discover it again.

Seems like its working now :slight_smile:

1 Like

Hello, I have a strange problem with this component, when i try to add the apple tv that i have i’m asked only for 2 pins, and when i finish the configuration i’m missing the source list. After that i tried it on a fresh new installation of home assistant and it asked me for 3 pin codes and source list is present on the fresh installation, i tried to unninstalled the component and install it again on my production home assistant but i can’t get the source list, how can i fix this?

Thanks

Thankyou!!! Was wondering why my AppleTV wasn’t working properly. Finally worked out I was using this beta component. Update this, and it still wasn’t working properly. I didn’t have to downgrade though. Just removed the device, and it discovered it about 30 seconds later.

This particular situation happens when you have previously ignored the device. Just show ignored devices and enable it again and it should work (no need to edit any core file manually).

Did you completely remove the device and add it again (also try restarting Home Assistant after removing)?

Did you have the old one added before upgrading to the beta component (or HA beta)? It likely has to do with Home assistant not finding you device, which can be for a number of reason. You should be able to delete it from the integrations page (select it and press the three dots in the corner) and then add it again, hopefully that will work.

Been following this thread for months with eager anticipation… just updated Home Assistant this morning and am happy to report that integration with my two AppleTV’s is now working swimmingly. Thanks so much for the hard work to make this happen!

1 Like

Yeah I should say I didn’t downgrade or remove the integration. just removed the device from:

.storage/core.config_entries

Restarted HA and it came in as a new device :slight_smile:

Ahh that’s where it is!! Thank you :slight_smile:

Just to answer your question. The second gen 4K came though fine after installing the beta. The first gen did not. BUT, first gen may have been broken for a while. This is the first time I actually wanted to use it in an automation so.

Thanks again :slight_smile:

1 Like