Adding Dog mode - For those late night bathroom breaks
This commit is contained in:
parent
b03d3a6566
commit
455c95eb86
|
@ -30,6 +30,10 @@ input_boolean:
|
||||||
security_issue:
|
security_issue:
|
||||||
name: Security Issue
|
name: Security Issue
|
||||||
icon: mdi:alert-circle-outline
|
icon: mdi:alert-circle-outline
|
||||||
|
dog_mode:
|
||||||
|
name: Dog Mode
|
||||||
|
icon: mdi:dog-side
|
||||||
|
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
|
@ -262,6 +266,9 @@ automation:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.sentry_mode
|
entity_id: input_boolean.sentry_mode
|
||||||
state: 'on'
|
state: 'on'
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.dog_mode
|
||||||
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: script.jarvis_alert
|
- service: script.jarvis_alert
|
||||||
data_template:
|
data_template:
|
||||||
|
@ -363,6 +370,20 @@ automation:
|
||||||
"I have enabled guest mode. ",
|
"I have enabled guest mode. ",
|
||||||
"Guest Mode is on."
|
"Guest Mode is on."
|
||||||
] | random }}
|
] | random }}
|
||||||
|
|
||||||
|
- id: dog_mode_deactivated
|
||||||
|
alias: Dog mode Deactivated
|
||||||
|
initial_state: true
|
||||||
|
trigger:
|
||||||
|
- platform: state
|
||||||
|
entity_id: input_boolean.dog_mode
|
||||||
|
to: 'on'
|
||||||
|
action:
|
||||||
|
- delay:
|
||||||
|
minutes: 20
|
||||||
|
- service: input_boolean.turn_off
|
||||||
|
entity_id: input_boolean.dog_mode
|
||||||
|
|
||||||
|
|
||||||
- id: security_alarm_on
|
- id: security_alarm_on
|
||||||
alias: Security alarm On
|
alias: Security alarm On
|
||||||
|
|
Loading…
Reference in New Issue