Add UI info for TTS and notification scripts
This commit is contained in:
@ -224,6 +224,23 @@ script:
|
||||
###############################################################################
|
||||
text_notify:
|
||||
alias: 'Text Notify'
|
||||
description: 'Use this to send text notifications to phones, respecting presence'
|
||||
fields:
|
||||
who:
|
||||
name: 'Who'
|
||||
description: 'Which phone, or group of phones, to send the notification to'
|
||||
example: 'tony, tina, kallen, parents, nerds, all'
|
||||
required: true
|
||||
title:
|
||||
name: 'Title'
|
||||
description: 'The title of the notification'
|
||||
example: 'Greetings'
|
||||
required: true
|
||||
message:
|
||||
name: 'Message'
|
||||
description: 'The body of the notification'
|
||||
example: 'I am notifying you that this is a notification'
|
||||
required: true
|
||||
sequence:
|
||||
- condition: state
|
||||
entity_id: input_boolean.text_notifications
|
||||
@ -323,6 +340,27 @@ script:
|
||||
|
||||
tv_notify:
|
||||
alias: 'TV Notify'
|
||||
description: 'Use this to send popup text notifications to TV screens in the house'
|
||||
fields:
|
||||
who:
|
||||
name: 'Who'
|
||||
description: 'Which TV to send the notification to'
|
||||
example: 'living_room, basement, master_bedroom, all'
|
||||
required: true
|
||||
title:
|
||||
name: 'Title'
|
||||
description: 'The title of the notification'
|
||||
example: 'Greetings'
|
||||
required: true
|
||||
message:
|
||||
name: 'Message'
|
||||
description: 'The body of the notification'
|
||||
example: 'I am notifying you that this is a notification'
|
||||
required: true
|
||||
data:
|
||||
name: 'Data'
|
||||
description: 'This is where you can define other message parameters, these are platform-specific'
|
||||
required: false
|
||||
sequence:
|
||||
- condition: state
|
||||
entity_id: input_boolean.tv_notifications
|
||||
@ -366,6 +404,23 @@ script:
|
||||
|
||||
text_alert:
|
||||
alias: 'Text Alert'
|
||||
description: 'Use this to send more important text alerts to phones, this will ignore presence'
|
||||
fields:
|
||||
who:
|
||||
name: 'Who'
|
||||
description: 'Which phone, or group of phones, to send the alert to'
|
||||
example: 'tony, tina, kallen, parents, nerds, all'
|
||||
required: true
|
||||
title:
|
||||
name: 'Title'
|
||||
description: 'The title of the alert'
|
||||
example: 'Important Alert'
|
||||
required: true
|
||||
message:
|
||||
name: 'Message'
|
||||
description: 'The body of the alert'
|
||||
example: 'I am alerting you to the possibility that this is an alert'
|
||||
required: true
|
||||
sequence:
|
||||
- service: >
|
||||
{% if who == 'tony' %}
|
||||
@ -428,6 +483,23 @@ script:
|
||||
|
||||
text_urgent_alert:
|
||||
alias: 'Text Urgent Alert'
|
||||
description: 'Use this to send CRITICAL text alerts to phones. This will ignore presence, make a loud annoying sound, and create a persistent notification, DO NOT USE UNLESS NECESSARY'
|
||||
fields:
|
||||
who:
|
||||
name: 'Who'
|
||||
description: 'Which phone, or group of phones, to send the alert to'
|
||||
example: 'tony, tina, kallen, parents, nerds, all'
|
||||
required: true
|
||||
title:
|
||||
name: 'Title'
|
||||
description: 'The title of the notification'
|
||||
example: 'Critical Alert'
|
||||
required: true
|
||||
message:
|
||||
name: 'Message'
|
||||
description: 'The body of the notification'
|
||||
example: 'I am alerting you to a critical situation!'
|
||||
required: true
|
||||
sequence:
|
||||
- service: >
|
||||
{% if who == 'tony' %}
|
||||
@ -546,6 +618,23 @@ script:
|
||||
|
||||
speech_engine:
|
||||
alias: 'Speech Engine'
|
||||
description: 'This is the framework for Jarvis to speak on any/all speakers in the house'
|
||||
fields:
|
||||
who:
|
||||
name: 'Who'
|
||||
description: 'This determines which speaker, or group of speakers, the message is sent to'
|
||||
required: true
|
||||
example: 'living_room, basement, common_areas, master_bedroom, kallen_bedroom, emma_bedroom, kids_bedrooms, all_bedrooms, everywhere'
|
||||
message:
|
||||
name: 'Message'
|
||||
description: 'This is the message you want Jarvis to read.'
|
||||
required: true
|
||||
example: 'Type some text and I will read it out loud'
|
||||
voice:
|
||||
name: 'Voice'
|
||||
description: 'Which voice you would like Jarvis to read in (optional, and only applicable on Alexa devices)'
|
||||
required: false
|
||||
example: 'Brian, Emma, Joanna, Amy, Justin, Matthew, Salli'
|
||||
variables:
|
||||
voice: "{{ states('input_select.jarvis_voice') }}"
|
||||
sequence:
|
||||
|
Reference in New Issue
Block a user