diff --git a/automations.yaml b/automations.yaml index bbd0e02..e6025a4 100644 --- a/automations.yaml +++ b/automations.yaml @@ -194,11 +194,67 @@ target: entity_id: input_boolean.mikroovn_lage_aben mode: single -- id: '1670355529090' +- id: '1670355835523' alias: TAG - Lemmingerne description: '' use_blueprint: path: tags/androidtv.yaml input: tag_id: 45-A9-47-E3 - show_id: '81154227' + show_id: '81154166' +- id: '1670356031076' + alias: TAG - Booba + description: '' + use_blueprint: + path: tags/androidtv.yaml + input: + tag_id: 4B-F8-7D-02 + show_id: '81011059' +- id: '1670356216891' + alias: TAG - Zig og Sharko + description: '' + use_blueprint: + path: tags/androidtv.yaml + input: + tag_id: EB-36-0B-03 + show_id: '70286809' +- id: '1670356499752' + alias: TAG - F for Får + description: '' + use_blueprint: + path: tags/androidtv.yaml + input: + tag_id: 69-66-94-05 + show_id: '70155567' +- id: '1670357666960' + alias: TAG - Gurli Gris + description: '' + use_blueprint: + path: tags/androidtv.yaml + input: + tag_id: 34-ED-15-C9 + show_id: '80025494' +- id: '1670358089992' + alias: TAG - Timmy Tid + description: '' + use_blueprint: + path: tags/androidtv.yaml + input: + tag_id: 69-15-5F-05 + show_id: '70217377' +- id: '1670358277427' + alias: TAG - Larva + description: '' + use_blueprint: + path: tags/androidtv.yaml + input: + tag_id: A4-9E-0F-C9 + show_id: '80008583' +- id: '1670358562230' + alias: TAG - Teletubbies + description: '' + use_blueprint: + path: tags/androidtv.yaml + input: + tag_id: 35-86-FF-B0 + show_id: '81593310' diff --git a/blueprints/automation/tags/androidtv.yaml b/blueprints/automation/tags/androidtv.yaml index 4b9b9b3..cd667d1 100644 --- a/blueprints/automation/tags/androidtv.yaml +++ b/blueprints/automation/tags/androidtv.yaml @@ -25,8 +25,16 @@ - service: androidtv.adb_command data: command: >- - am start -n com.netflix.ninja/.MainActivity -a android.intent.action.VIEW -d http://www.netflix.com/watch/{{ show_id }} -e source 30 && input 23 && input 23 + am start -n com.netflix.ninja/.MainActivity -a android.intent.action.VIEW -d http://www.netflix.com/watch/{{ show_id }} -e source 30 target: entity_id: media_player.android_tv_10_0_1_30 + - delay: + seconds: 4 + + - service: androidtv.adb_command + data: + command: input keyevent KEYCODE_DPAD_CENTER + entity_id: media_player.android_tv_10_0_1_30 + mode: single