I have my Nvidia Shield connected using ADB. This gives the option to select source.
adb_response: null
hdmi_input: null
device_class: tv
friendly_name: nVidia Shield
supported_features: 23997
source_list:
- Live Channels
- com.android.systemui
- com.google.android.ext.services
- com.android.providers.media.module
- com.nvidia.blakepairing
- com.dolby.android.audio.service
- com.nvidia.shieldtech.accessoryui
- com.nvidia.shield.remote.server
- com.nvidia.osc
- com.nvidia.app.messaging
- flar2.homebutton
- com.nvidia.shield.ask
- Google Cast
- com.google.android.gms
- com.google.android.gms.persistent
- com.google.android.inputmethod.latin
- com.spocky.projengmenu
- com.google.android.tv.remote.service
- com.android.providers.tv
- com.neilturner.aerialviews
- Spotify
- com.nvidia.bbciplayer
- com.google.android.katniss:interactor
- com.nvidia.shieldbeta
- Play Store
- com.mb.android
- com.google.android.tvrecommendations:crash_report
- com.nvidia.tegrazone3
- com.google.android.packageinstaller
- com.google.android.permissioncontroller
- com.android.vending:background
- com.liskovsoft.smarttubetv.beta
- com.google.process.gservices
- com.google.android.tts
- Netflix
- com.am.pt
- com.nvidia.ota
- Play Movies & TV
- com.am.pt:msv.remote
- wave.paperworld.wallpaper
- com.google.android.tvrecommendations
is_volume_muted: false
app_id: com.spocky.projengmenu
app_name: com.spocky.projengmenu
source: com.spocky.projengmenu
entity_picture: >-
/api/media_player_proxy/media_player.android_tv_shield_epnet_work?token=1e69e032b669fc7b6220639a8f414a9a9d4346bdfd7e2a6e76c245f54d52c507&cache=14779cb9ac718160
volume_level: 1
As you can see, it displays most stuff. But what I want to do is create a template helper to rename the sources to a more visually obvious names. I have created one for another device using this to change a code to an actual readable name:
{% set sc = states('sensor.boiler_servicecodenumber') %}
{% if sc == '200' %} CH active
{% elif sc == '201' %} HW active
{% elif sc == '202' %} CH anti cycle
{% elif sc == '203' %} Standby
{% elif sc == '204' %} CH cooling
{% elif sc == '208' %} Service test
{% elif sc == '265' %} Low CH load
{% elif sc == '268' %} Component test
{% elif sc == '270' %} Power up
{% elif sc == '283' %} Burner start
{% elif sc == '284' %} Ignition
{% elif sc == '305' %} HW anti cycle
{% elif sc == '357' %} Air purge
{% elif sc == '358' %} Valve kick
{% else %} {{ sc }}
{% endif %}
Unfortunately I cant seem to find an actual entity to create a template for to change the Nvidia Shield source names. And if possible, even remove sources. Can anyone help?