Hello!
Is it possible to play videos to Smart Tube Next using play_media
service on a Android TV?
I amb able to do it with the official youtube app with the following script:
alias: YouTube living room enqueue
sequence:
- service: media_player.play_media
target:
entity_id: media_player.mi_box
data:
media_content_id: >-
{% set msg
={'app_name':'smarttubenext','enqueue':'true','media_id':states('input_text.youtube')}%}{{
msg|to_json }}
media_content_type: cast
mode: single
icon: mdi:youtube-tv
I have tried replacing the app_name
to smarttubenext
but it doesn’t work.