42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
# Original author information below. Could not have done this without his awesome videos!
|
|
|
|
###############################################################################
|
|
# @author : Jeffrey Stone
|
|
# @date : 07/09/2019
|
|
# @package : Jarvis
|
|
# @description : Bringing some Jarvis to Home Assistant
|
|
###############################################################################
|
|
|
|
input_select:
|
|
jarvis_voice:
|
|
name: Jarvis Voice
|
|
options:
|
|
- Brian
|
|
- Emma
|
|
- Joanna
|
|
- Amy
|
|
- Justin
|
|
- Matthew
|
|
- Salli
|
|
initial: Brian
|
|
icon: mdi:account-voice
|
|
|
|
script:
|
|
alexa_interjection:
|
|
alias: 'Alexa Interjection'
|
|
sequence:
|
|
- service: script.status_annc
|
|
data:
|
|
who: "{{ states('sensor.last_alexa')}}"
|
|
call_confirmation: 1
|
|
|
|
google_interjection:
|
|
alias: 'Google Interjection'
|
|
sequence:
|
|
- service: script.status_annc
|
|
data:
|
|
who: '{{ states.sensor.room_audio.state }}'
|
|
call_confirmation: 1
|
|
|
|
|