2019-07-12 20:32:25 +00:00
|
|
|
###############################################################################
|
|
|
|
# @author : Jeffrey Stone
|
|
|
|
# @date : 07/09/2019
|
|
|
|
# @package : Jarvis
|
2019-11-10 00:16:53 +00:00
|
|
|
# @description : Bringing some Jarvis to Home Assistant
|
2019-07-12 20:32:25 +00:00
|
|
|
###############################################################################
|
|
|
|
|
2019-11-10 00:16:53 +00:00
|
|
|
input_boolean:
|
|
|
|
house_party_protocol:
|
|
|
|
name: House Party Protocol
|
2019-07-16 01:40:39 +00:00
|
|
|
|
2019-11-10 00:16:53 +00:00
|
|
|
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
|
|
|
|
to: 'on'
|
|
|
|
action:
|
2019-11-22 02:32:19 +00:00
|
|
|
- service: homeassistant.turn_on
|
|
|
|
entity_id: group.incense
|
|
|
|
- service: script.ah_report
|
|
|
|
data_template:
|
|
|
|
call_confirmation: 1
|
|
|
|
call_house_party_protocol_enabled: 1
|
2019-11-10 00:16:53 +00:00
|
|
|
|
|
|
|
- id: house_party_protocol_off
|
|
|
|
alias: Turn Off House Party Protocol
|
|
|
|
initial_state: true
|
|
|
|
trigger:
|
|
|
|
- platform: state
|
|
|
|
entity_id: input_boolean.house_party_protocol
|
|
|
|
to: 'off'
|
|
|
|
action:
|
2019-11-22 02:32:19 +00:00
|
|
|
- service: homeassistant.turn_off
|
2019-11-10 00:16:53 +00:00
|
|
|
entity_id: group.incense
|
|
|
|
- service: script.ah_report
|
|
|
|
data_template:
|
2019-11-22 02:32:19 +00:00
|
|
|
call_confirmation: 1
|
|
|
|
call_house_party_protocol_disabled: 1
|