I am using some lovelace buttons to turn the NVidia Shield on or off and everything is working as it should even though this error is still showing in the logs.
I don’t understand what I need to do/remove from the configuration to get rid of the error.
In the configuration.yaml I have added the following section:
# Integrate NVIDIA Shield TV
media_player:
# Use the Python ADB implementation
- platform: androidtv
name: Nvidia Shield TV
device_class: androidtv
host: X.X.X.X
apps:
com.nvidia.bbciplayer: BBC iPlayer
air.ITVMobilePlayer: ITV Hub
state_detection_rules:
'com.nvidia.bbciplayer':
- 'paused':
'media_session_state': 2 # this indentation is important!
'wake_lock_size': 3 # this indentation is important!
- 'playing':
'media_session_state': 3 # this indentation is important!
'wake_lock_size': 3 # this indentation is important!
- 'standby':
'media_session_state': 2 # this indentation is important!
'wake_lock_size': 3 # this indentation is important!
'com.netflix.ninja':
- 'paused':
'media_session_state': 2 # this indentation is important!
'wake_lock_size': 3 # this indentation is important!
- 'playing':
'media_session_state': 3 # this indentation is important!
'wake_lock_size': 3 # this indentation is important!
- 'standby':
'media_session_state': 2 # this indentation is important!
'wake_lock_size': 3 # this indentation is important!
'tunein.player':
- 'paused':
'media_session_state': 1 # this indentation is important!
'wake_lock_size': 2 # this indentation is important!
- 'playing':
'media_session_state': 3 # this indentation is important!
'wake_lock_size': 4 # this indentation is important!
- 'standby':
'media_session_state': 1 # this indentation is important!
'wake_lock_size': 3 # this indentation is important!
'org.xbmc.kodi':
- 'paused':
'media_session_state': 2 # this indentation is important!
'wake_lock_size': 3 # this indentation is important!
- 'playing':
'media_session_state': 3 # this indentation is important!
'wake_lock_size': 3 # this indentation is important!
- 'standby':
'media_session_state': 1 # this indentation is important!
'wake_lock_size': 3 # this indentation is important!
'com.google.android.youtube.tv':
- 'paused':
'media_session_state': 2 # this indentation is important!
'wake_lock_size': 3 # this indentation is important!
- 'playing':
'media_session_state': 3 # this indentation is important!
'wake_lock_size': 4 # this indentation is important!
- 'standby':
'media_session_state': 2 # this indentation is important!
'wake_lock_size': 3 # this indentation is important!
Any ideas?