Moved party stuff
This commit is contained in:
@ -7,11 +7,6 @@
|
|||||||
# @description : Bringing some Jarvis to Home Assistant
|
# @description : Bringing some Jarvis to Home Assistant
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
input_boolean:
|
|
||||||
house_party_protocol_switch:
|
|
||||||
name: House Party Switch
|
|
||||||
icon: mdi:party-popper
|
|
||||||
|
|
||||||
input_select:
|
input_select:
|
||||||
jarvis_voice:
|
jarvis_voice:
|
||||||
name: Jarvis Voice
|
name: Jarvis Voice
|
||||||
@ -26,60 +21,7 @@ input_select:
|
|||||||
initial: Brian
|
initial: Brian
|
||||||
icon: mdi:account-voice
|
icon: mdi:account-voice
|
||||||
|
|
||||||
# automation:
|
|
||||||
# - id: house_party_protocol_on
|
|
||||||
# alias: Turn On House Party Protocol
|
|
||||||
# initial_state: true
|
|
||||||
# trigger:
|
|
||||||
# - platform: state
|
|
||||||
# entity_id: input_boolean.house_party_protocol_switch
|
|
||||||
# to: 'on'
|
|
||||||
# action:
|
|
||||||
# - delay: 00:00:05
|
|
||||||
# - service: homeassistant.turn_on
|
|
||||||
# entity_id: group.incense
|
|
||||||
# - service: script.status_annc
|
|
||||||
# data_template:
|
|
||||||
# who: '{{ states.sensor.room_presence.state }}'
|
|
||||||
# call_house_party_protocol_enabled: 1
|
|
||||||
|
|
||||||
# - id: house_party_protocol_off
|
|
||||||
# alias: Turn Off House Party Protocol
|
|
||||||
# initial_state: true
|
|
||||||
# trigger:
|
|
||||||
# - platform: state
|
|
||||||
# entity_id: input_boolean.house_party_protocol_switch
|
|
||||||
# to: 'off'
|
|
||||||
# action:
|
|
||||||
# - delay: 00:00:05
|
|
||||||
# - service: homeassistant.turn_off
|
|
||||||
# entity_id: group.incense
|
|
||||||
# - service: script.status_annc
|
|
||||||
# data_template:
|
|
||||||
# who: '{{ states.sensor.room_presence.state }}'
|
|
||||||
# call_house_party_protocol_disabled: 1
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# house_party_protocol_on:
|
|
||||||
# sequence:
|
|
||||||
# - delay: 00:00:05
|
|
||||||
# - service: homeassistant.turn_on
|
|
||||||
# entity_id: group.incense
|
|
||||||
# - service: script.status_annc
|
|
||||||
# data_template:
|
|
||||||
# who: '{{ states.sensor.room_presence.state }}'
|
|
||||||
# call_house_party_protocol_enabled: 1
|
|
||||||
|
|
||||||
# house_party_protocol_off:
|
|
||||||
# sequence:
|
|
||||||
# - delay: 00:00:05
|
|
||||||
# - service: homeassistant.turn_off
|
|
||||||
# entity_id: group.incense
|
|
||||||
# - service: script.status_annc
|
|
||||||
# data_template:
|
|
||||||
# who: '{{ states.sensor.room_presence.state }}'
|
|
||||||
# call_house_party_protocol_disabled: 1
|
|
||||||
|
|
||||||
alexa_interjection:
|
alexa_interjection:
|
||||||
sequence:
|
sequence:
|
||||||
- service: script.status_annc
|
- service: script.status_annc
|
||||||
|
34
packages/party.yaml
Normal file
34
packages/party.yaml
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
###############################################################################
|
||||||
|
# @author : Jeffrey Stone
|
||||||
|
# @date : 07/09/2019
|
||||||
|
# @package : Jarvis
|
||||||
|
# @description : Bringing some Jarvis to Home Assistant
|
||||||
|
#
|
||||||
|
# @modified by : Chris Heder (@chrisron95)
|
||||||
|
# @date : 05/12/2022
|
||||||
|
#
|
||||||
|
# @modified by : Tony Stork (@tm24fan8)
|
||||||
|
# @date : 07/04/2022
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
|
input_boolean:
|
||||||
|
house_party_protocol_switch:
|
||||||
|
name: House Party Switch
|
||||||
|
icon: mdi:party-popper
|
||||||
|
|
||||||
|
script:
|
||||||
|
house_party_protocol_on:
|
||||||
|
sequence:
|
||||||
|
- delay: 00:00:05
|
||||||
|
- service: script.status_annc
|
||||||
|
data:
|
||||||
|
who: "{{ states('sensor.room_presence') }}"
|
||||||
|
call_house_party_protocol_enabled: 1
|
||||||
|
|
||||||
|
house_party_protocol_off:
|
||||||
|
sequence:
|
||||||
|
- delay: 00:00:05
|
||||||
|
- service: script.status_annc
|
||||||
|
data:
|
||||||
|
who: "{{ states('sensor.room_presence') }}"
|
||||||
|
call_house_party_protocol_disabled: 1
|
Reference in New Issue
Block a user