I created a universal TV remote (media_player) but when it shows up in HomeKit it is only the power function/button, no sources. I see the sources when i use the media_player in Lovelace.
I searched and found i need to add “device_class: tv” ad the entitie (my universal remote). I did that, restarted couple times. No changes. So i cheched the Customizing in config and there i saw a error. I needed to add homeassistant: customize: !include customize.yaml
When i do that.The error is gone, but the whole Homekit is down… all stuff is unavaillable ;-(
2020-12-07 12:56:24 WARNING (SyncWorker_6) [homeassistant.components.homekit.type_media_players] media_player.televisie: Sources out of sync. Restart Home Assistant
2020-12-07 12:56:25 WARNING (MainThread) [homeassistant.components.homekit.type_media_players] media_player.televisie: Sources out of sync. Restart Home Assistant
but maybe this was when i created and tested the media_player.television
I use 1 HomeKit integration as a bridge. I excluded the media_player.televisie from that bridge. Now all stuff is working again. So there is something wrong in mu “universal” player in the yaml file?
Next 1 created a 2nd HomeKit integration and set it as accesory… selected “media_player” and next the right player. When i try to pare with the home app on my iphone i get a msg that the TV is not certified for HomeKit, but that should not be a problem. After i enter the code i get a msg “Connecting to TV” and a msg the pairing did not work. (accessory does not meet the standard)
i will first try to get the sources function working and when that is working i will try to embed/use/integrate the sources provided with the media_player.ziggo_mediabox
i now tried this, but no sources shows up. So… i will try some other codes