TvOS18: Television inputs are renamed when adding to HomeKit
### Analysis

Hello,

the creation of this issue is a follow-up of an issue that has been created in my plugins repository: https://github.com/maxileith/homebridge-appletv-enhanced/issues/627

The plugin is exposing apps of an Apple TV as input sources of a television device. The plugin queries the app names from the Apple TV and uses them as the default configured names of the inputs.

When adding the Apple TV device in the Home app, there is the usual dialog ... entering the PIN ... renaming the Apple TV ... and then there comes the dialog for renaming and checking / unchecking the inputs. Since the inputs already have a default configured name like "Netlfix" or "Spotify" they are shown as such. At least before TvOS 18. After **updateing to TvOS 18** the inputs are named as follows:

* Input Source 1
* Input Source 2
* Input Source 3
* Input Source 4
* ...

That is definitely a problem as the user does not really understand which input source is which app in that case. The interesting part is that the Apple TV (in that case I mean the Apple TV acting as the HomeHub) is actively renaming the inputs to "Input Source xx" as you can tell from the logs below.

To make thing even more curious, this only happens when the connected HomeHub is the Apple TV. This does not happen when the connected HomeHub is a HomePod or if there is no HomeHub at all. This issue only applies when the active HomeHub is an Apple TV.

### Expected Behavior

I would expect that the default configured names of the inputs are shown and inherited furing the initial pairing of the Apple TV (television device).

### Steps To Reproduce

1. Shutdown the Apple TV enhanced plugin
2. Unpair the Apple TV device in homebridge via the settings if it was already paired
3. Delete the file `./appletv-enhanced/AABBCCDDEEFF/apps.json` where your MAC address is AA:BB:CC:DD:EE:FF. This is where the configured input names are saved.
4. Start the plugin
5. Make sure you are currently connected to an Apple TV as your HomeHub
6. Add the Apple TV (homebridge television device) to your Apple Home
7. You should experience the result I have described in the "Analysis" part

### Logs

```markdown
[9/27/2024, 12:54:02 AM] [Apple TV Enhanced] [I] Wohnzimmer Apple TV (82:09:1D:04:8D:8E): Changed Configured Name from Wohnzimmer Apple TV to Apple TV
[9/27/2024, 12:54:02 AM] [Apple TV Enhanced] [D] Wohnzimmer Apple TV (82:09:1D:04:8D:8E): Updating common config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/common.json
[9/27/2024, 12:54:21 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of Avada Kedavra from Avada Kedavra to Eingabequelle.
[9/27/2024, 12:54:21 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating common config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/common.json
[9/27/2024, 12:54:21 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of Home Input from Home to Eingabequelle 2.
[9/27/2024, 12:54:21 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating common config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/common.json
[9/27/2024, 12:54:21 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of de.swr.avp.ard.tablet from ARD Mediathek to Eingabequelle 3.
[9/27/2024, 12:54:21 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:21 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.apple.TVAppStore from AppStore to Eingabequelle 4.
[9/27/2024, 12:54:21 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:21 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.apple.TVMusic from Apple Music to Eingabequelle 5.
[9/27/2024, 12:54:21 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:21 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.apple.TVWatchList from Apple TV to Eingabequelle 6.
[9/27/2024, 12:54:21 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:21 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.apple.Arcade from Arcade to Eingabequelle 7.
[9/27/2024, 12:54:21 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:21 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.apple.TVHomeSharing from Computer to Eingabequelle 8.
[9/27/2024, 12:54:21 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.crunchyroll.iphone from Crunchyroll to Eingabequelle 9.
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.disney.disneyplus from Disney to Eingabequelle 10.
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.apple.TVSettings from Einstellungen to Eingabequelle 11.
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.apple.facetime from FaceTime to Eingabequelle 12.
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.apple.TVMovies from Filme to Eingabequelle 13.
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.apple.Fitness from Fitness to Eingabequelle 14.
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.apple.TVPhotos from Fotos to Eingabequelle 15.
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.firecore.infuse from Infuse to Eingabequelle 16.
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of org.jellyfin.swiftfin from Jellyfin to Eingabequelle 17.
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of de.prosiebensat1digital.seventv from Joyn to Eingabequelle 18.
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.justwatch.justwatch from JustWatchTV to Eingabequelle 19.
[9/27/2024, 12:54:22 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.moonlight-stream.Moonlight from Moonlight to Eingabequelle 20.
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.netflix.Netflix from Netflix to Eingabequelle 21.
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.cbs.canada.app from Paramount to Eingabequelle 22.
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.apple.podcasts from Podcasts to Eingabequelle 23.
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.amazon.aiv.AIVApp from Prime Video to Eingabequelle 24.
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.rtlinteractive.tvnow from RTL to Eingabequelle 25.
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.ookla.speedtest from Speedtest to Eingabequelle 26.
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.spotify.client from Spotify to Eingabequelle 27.
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.apple.TVSearch from Suchen to Eingabequelle 28.
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.apple.TVShows from TVSendungen to Eingabequelle 29.
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of tv.twitch from Twitch to Eingabequelle 30.
[9/27/2024, 12:54:23 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:24 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of org.videolan.vlc-ios from VLC to Eingabequelle 31.
[9/27/2024, 12:54:24 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:24 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of de.sky.skyonline from WOW to Eingabequelle 32.
[9/27/2024, 12:54:24 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:24 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of com.google.ios.youtube from YouTube to Eingabequelle 33.
[9/27/2024, 12:54:24 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:24 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of de.zdf.mediathek.universal from ZDFmediathek to Eingabequelle 34.
[9/27/2024, 12:54:24 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:24 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of de.exaring.waipu from waiputv to Eingabequelle 35.
[9/27/2024, 12:54:24 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:24 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of https://tv.apple.com/show/silo/umc.cmc.3yksgc857px0k0rqe5zd4jice from httpstvapplecomshowsiloumccmc3yksgc857px0k0rqe5zd4jice to Eingabequelle 36.
[9/27/2024, 12:54:24 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:24 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of https://www.disneyplus.com/movies/rogue-one-a-star-wars-story/14CV6eSbygOA from httpswwwdisneypluscommoviesrogueoneastarwarsstory14CV6eSbygOA to Eingabequelle 37.
[9/27/2024, 12:54:24 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:24 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of https://www.netflix.com/watch/81260280 from httpswwwnetflixcomwatch81260280 to Eingabequelle 38.
[9/27/2024, 12:54:24 AM] [Apple TV Enhanced] [D] Apple TV (82:09:1D:04:8D:8E): Updating app config at /home/maxileith/Downloads/homebridge-appletv-enhanced/user_storage/appletv-enhanced/82091D048D8E/apps.json
[9/27/2024, 12:54:24 AM] [Apple TV Enhanced] [I] Apple TV (82:09:1D:04:8D:8E): Changing configured name of vlc://https://devstreaming-cdn.apple.com/videos/streaming/examples/img_bipbop_adv_example_ts/master.m3u8 from vlchttpsdevstreamingcdnapplecomvideosstreamingexamplesimgbipbopa to Eingabequelle 39.
```


### Configuration

```json
irrelevant for this issue
```


### Environment

- OS: Linux Maxi-Manjaro 6.6.47-1-MANJARO x86_64 GNU/Linux
- Homebridge: 1.8.4
- Node: v20.17.0
- npm: 10.8.3


### Process Supervisor

not applicable

### Additional Context

![image](https://github.com/user-attachments/assets/68374144-2d89-4f61-bb74-e5e7ef91415b)