--- #service: androidtv.adb_command #data: # entity_id: media_player.android_tv_10_10_12_101 # command: >- # ps -ef | grep -v grep | grep pipup || am start nl.rogro82.pipup/.MainActivity #service: rest_command.pipup_image #data: # title: test # message: test message # url: https://cdn.esawebb.org/archives/images/screen/weic2218a.jpg pipup_url: url: http://10.10.12.101:7979/notify content_type: 'application/json' verify_ssl: false method: 'post' timeout: 20 payload: > { "duration": {{ duration | default(20) }}, "position": {{ position | default(0) }}, "title": "{{ title | default('') }}", "titleColor": "{{ titleColor | default('#50BFF2') }}", "titleSize": {{ titleSize | default(10) }}, "message": "{{ message }}", "messageColor": "{{ messageColor | default('#fbf5f5') }}", "messageSize": {{ messageSize | default(14) }}, "backgroundColor": "{{ backgroundColor | default('#0f0e0e') }}", "media": { "web": { "uri": "{{ url }}", "width": {{ width | default(640) }}, "height": {{ height | default(480) }} } } } pipup_image: url: http://10.10.12.101:7979/notify content_type: 'application/json' verify_ssl: false method: 'post' timeout: 20 payload: > { "duration": {{ duration | default(20) }}, "position": {{ position | default(0) }}, "title": "{{ title | default('') }}", "titleColor": "{{ titleColor | default('#50BFF2') }}", "titleSize": {{ titleSize | default(10) }}, "message": "{{ message }}", "messageColor": "{{ messageColor | default('#fbf5f5') }}", "messageSize": {{ messageSize | default(14) }}, "backgroundColor": "{{ backgroundColor | default('#0f0e0e') }}", "media": { "image": { "uri": "{{ url }}", "width": {{ width | default(640) }} } } }