Change Apple TV IP address in Home Assistant

Hi

How can I change the Apple TV IP address configured in Home Assistant?

I recently changed the IP of my Apple TV from dynamic to static and now Home Assistant is having problem communicating with it. The log shows that HA is trying to communicate with the old dynamic IP. I guess this IP can be changed manually if I only knew where to look…

OSError: [Errno 113] Connect call failed ('192.168.0.149', 49153)

I think the only way to do that is to delete the integration and re-add it. I’m pretty sure if you do it that way that all the entities will get recreated with the same IDs, so you shouldn’t have to update anything else after you do that.

The “hacker” way is to search for the old ip in the .storage subdirectory, change it, and restart HA.

Thanks for the replies. Guess I will try the non-hacking way first :slight_smile: