Hello, I am new to home assistant and I am trying to setup an automatic card that shows different media players based on their status. For this I use auto-entities custom card. The problem I ran into is that for fireTV in developer tools -> States I see the following attributes:
app_id: org.xbmc.kodi
app_name: Kodi
source: org.xbmc.kodi
adb_response: null
friendly_name: Fire TV
supported_features: 22961
However when I try to use these attributes to filter my lovelace card with auto-entities it does not seem to work:
card:
show_header_toggle: false
type: entities
filter:
include:
- domain: media_player
entity_id: '*kodi'
options:
artwork: cover
artwork_border: true
hide:
icon: true
type: 'custom:mini-media-player'
state: /playing|paused|idle/
- domain: media_player
entity_id: '*fire_tv'
options:
artwork_border: false
group: true
hide:
icon: true
power: true
progress: true
source: true
volume: true
type: 'custom:mini-media-player'
exclude:
- domain: media_player
entity_id: '*fire_tv'
attributes:
app_id: org.xbmc.kodi
show_empty: false
type: 'custom:auto-entities'
However when kodi is open on firetv i see two media players [kodi and firetv] in my card, fire tv is not filtered out.
I tried to debug java script in chrome and it appears that object media_player.fire_tv does not even have app_id attribute even though it is displayed in developer tools.
Is there a way to force the attributes I want to be available for auto-entities to see?