`ps4_start_x:
alias: "PS4 Start X"
sequence:
- service: shell_command.ps4_start_app
data_template:
app_id: >
{% if (title == "Netflix") %}
CUSA00127
{% elif (title == "Amazon") %}
CUSA00126
{% elif (title == "Horizon") %}
CUSA07320
{% endif %}Preformatted text`
- service: remote.turn_on
data_template:
entity_id: remote.hubi
activity: 20685489
shell_command:
ps4_start_app: ‘ps4-waker start {{ app_id }} -c /home/homeassistant/.homeassistant/.ps4-wake.credentials.json’