Disabling Nest Protects for now #250
This commit is contained in:
parent
64ab9b1e51
commit
9105e5fc12
|
@ -1 +1 @@
|
||||||
2024.10.0.dev202409230230
|
2024.10.0.dev202409250230
|
|
@ -102,7 +102,6 @@
|
||||||
- light.led_garage_snip
|
- light.led_garage_snip
|
||||||
- light.led_garage_small
|
- light.led_garage_small
|
||||||
- light.led_outdoor_den
|
- light.led_outdoor_den
|
||||||
- light.front_door
|
|
||||||
- light.treeflood
|
- light.treeflood
|
||||||
- light.flood_2
|
- light.flood_2
|
||||||
- light.pathmiddle
|
- light.pathmiddle
|
||||||
|
|
|
@ -1,96 +0,0 @@
|
||||||
######################################################################################################
|
|
||||||
# Nest Protect Package
|
|
||||||
# @CCOSTAN
|
|
||||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
|
||||||
# - Write up- https://www.vcloudinfo.com/2017/06/psa-check-out-your-smoke-detectors-once.html
|
|
||||||
######################################################################################################
|
|
||||||
#-----------------------------------
|
|
||||||
#
|
|
||||||
group:
|
|
||||||
protects:
|
|
||||||
name: Nest Protects
|
|
||||||
entities:
|
|
||||||
- binary_sensor.upstairs_living_room_nest_protect_online
|
|
||||||
- binary_sensor.hallway_nest_protect_kids_hallway_online
|
|
||||||
- binary_sensor.justins_room_nest_protect_online
|
|
||||||
- binary_sensor.kitchen_nest_protect_online
|
|
||||||
- binary_sensor.master_bedroom_nest_protect_online
|
|
||||||
- binary_sensor.master_hallway_nest_protect_online
|
|
||||||
- binary_sensor.paiges_room_nest_protect_paiges_room_online
|
|
||||||
- binary_sensor.upstairs_bedroom_nest_protect_online
|
|
||||||
- binary_sensor.office_nest_protect_online
|
|
||||||
|
|
||||||
automation:
|
|
||||||
- alias: Nest protect emergency
|
|
||||||
id: 95856443-6da8-4bef-80b2-f11c725b4dad
|
|
||||||
mode: parallel
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
platform: state
|
|
||||||
entity_id:
|
|
||||||
- sensor.hallway_nest_protect_kids_hallway_smoke_status
|
|
||||||
- sensor.hallway_nest_protect_kids_hallway_co_status
|
|
||||||
- sensor.justins_room_nest_protect_smoke_status
|
|
||||||
- sensor.justins_room_nest_protect_co_status
|
|
||||||
- sensor.kitchen_nest_protect_smoke_status
|
|
||||||
- sensor.kitchen_nest_protect_co_status
|
|
||||||
- sensor.master_bedroom_nest_protect_smoke_status
|
|
||||||
- sensor.master_bedroom_nest_protect_co_status
|
|
||||||
- sensor.master_hallway_nest_protect_smoke_status
|
|
||||||
- sensor.master_hallway_nest_protect_co_status
|
|
||||||
- sensor.office_nest_protect_smoke_status
|
|
||||||
- sensor.office_nest_protect_co_status
|
|
||||||
- sensor.paiges_room_nest_protect_paiges_room_smoke_status
|
|
||||||
- sensor.paiges_room_nest_protect_paiges_room_co_status
|
|
||||||
- sensor.upstairs_bedroom_nest_protect_smoke_status
|
|
||||||
- sensor.upstairs_bedroom_nest_protect_co_status
|
|
||||||
- sensor.upstairs_living_room_nest_protect_smoke_status
|
|
||||||
- sensor.upstairs_living_room_nest_protect_co_status
|
|
||||||
to: 'Emergency'
|
|
||||||
|
|
||||||
action:
|
|
||||||
|
|
||||||
- service: input_boolean.turn_on
|
|
||||||
entity_id: input_boolean.alert_mode
|
|
||||||
|
|
||||||
- service: script.speech_engine
|
|
||||||
data:
|
|
||||||
value1: "The {{ trigger.to_state.attributes.friendly_name }} is now {{ (trigger.to_state.state)|replace('_', ' ') }}. Please check immediately."
|
|
||||||
|
|
||||||
- service: script.notify_engine
|
|
||||||
data:
|
|
||||||
value1: "An emergency has been detected on {{ trigger.to_state.attributes.friendly_name }} Please investigate IMMEDIATELY."
|
|
||||||
who: "family"
|
|
||||||
group: '{{ trigger.to_state.attributes.friendly_name }}'
|
|
||||||
|
|
||||||
- service: script.emergency
|
|
||||||
data:
|
|
||||||
call_garage_open: 1
|
|
||||||
|
|
||||||
|
|
||||||
- alias: Nest Protect Offline Notify
|
|
||||||
id: 43983144-a54f-4966-ae03-755e62cd35ec
|
|
||||||
mode: parallel
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
platform: state
|
|
||||||
entity_id:
|
|
||||||
- binary_sensor.upstairs_living_room_nest_protect_online
|
|
||||||
- binary_sensor.hallway_nest_protect_kids_hallway_online
|
|
||||||
- binary_sensor.justins_room_nest_protect_online
|
|
||||||
- binary_sensor.kitchen_nest_protect_online
|
|
||||||
- binary_sensor.master_bedroom_nest_protect_online
|
|
||||||
- binary_sensor.master_hallway_nest_protect_online
|
|
||||||
- binary_sensor.paiges_room_nest_protect_paiges_room_online
|
|
||||||
- binary_sensor.upstairs_bedroom_nest_protect_online
|
|
||||||
- binary_sensor.office_nest_protect_online
|
|
||||||
from: 'on'
|
|
||||||
|
|
||||||
action:
|
|
||||||
|
|
||||||
- service: script.notify_engine
|
|
||||||
data:
|
|
||||||
value1: "The {{ trigger.to_state.attributes.friendly_name }} is now {{ (trigger.to_state.state)|replace('_', ' ') }}. Please check immediately."
|
|
||||||
who: "family"
|
|
||||||
group: '{{ trigger.to_state.attributes.friendly_name }}'
|
|
||||||
|
|
|
@ -25,12 +25,9 @@
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: &smoke [245,245,245]
|
rgb_color: &smoke [245,245,245]
|
||||||
brightness: 30
|
brightness: 30
|
||||||
light.front_door:
|
|
||||||
state: 'on'
|
|
||||||
rgb_color: &red [204,0,0]
|
|
||||||
light.flood_2:
|
light.flood_2:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: *red
|
rgb_color: &red [204,0,0]
|
||||||
light.outdoor_sconce_3:
|
light.outdoor_sconce_3:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: *smoke
|
rgb_color: *smoke
|
||||||
|
@ -68,15 +65,12 @@
|
||||||
light.outdoor_foyer:
|
light.outdoor_foyer:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: *gold
|
rgb_color: *gold
|
||||||
light.front_door:
|
|
||||||
state: 'on'
|
|
||||||
rgb_color: &purple [128,0,128]
|
|
||||||
light.flood_2:
|
light.flood_2:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: *gold
|
rgb_color: *gold
|
||||||
light.outdoor_sconce_1:
|
light.outdoor_sconce_1:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: *purple
|
rgb_color: &purple [128,0,128]
|
||||||
light.outdoor_sconce_2:
|
light.outdoor_sconce_2:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: *gold
|
rgb_color: *gold
|
||||||
|
@ -117,9 +111,6 @@
|
||||||
light.outdoor_foyer:
|
light.outdoor_foyer:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: &lavender [244,187,255]
|
rgb_color: &lavender [244,187,255]
|
||||||
light.front_door:
|
|
||||||
state: 'on'
|
|
||||||
rgb_color: *lavender
|
|
||||||
light.flood_2:
|
light.flood_2:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: &yellow [255,255,0]
|
rgb_color: &yellow [255,255,0]
|
||||||
|
@ -157,9 +148,6 @@
|
||||||
light.flood_2:
|
light.flood_2:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: *red
|
rgb_color: *red
|
||||||
light.front_door:
|
|
||||||
state: 'on'
|
|
||||||
rgb_color: *yellow
|
|
||||||
light.outdoor_sconce_1:
|
light.outdoor_sconce_1:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: *smoke
|
rgb_color: *smoke
|
||||||
|
@ -193,9 +181,6 @@
|
||||||
light.flood_2:
|
light.flood_2:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: *red
|
rgb_color: *red
|
||||||
light.front_door:
|
|
||||||
state: 'on'
|
|
||||||
rgb_color: *red
|
|
||||||
light.outdoor_sconce_1:
|
light.outdoor_sconce_1:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: *red
|
rgb_color: *red
|
||||||
|
@ -239,9 +224,6 @@
|
||||||
light.treeflood:
|
light.treeflood:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: *orange
|
rgb_color: *orange
|
||||||
light.front_door:
|
|
||||||
state: 'on'
|
|
||||||
rgb_color: *orange
|
|
||||||
light.outdoor_sconce_1:
|
light.outdoor_sconce_1:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: *blue
|
rgb_color: *blue
|
||||||
|
@ -260,9 +242,6 @@
|
||||||
light.flood_2:
|
light.flood_2:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: *green
|
rgb_color: *green
|
||||||
light.front_door:
|
|
||||||
state: 'on'
|
|
||||||
rgb_color: *orange
|
|
||||||
light.outdoor_sconce_1:
|
light.outdoor_sconce_1:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: *orange
|
rgb_color: *orange
|
||||||
|
@ -316,9 +295,6 @@
|
||||||
light.treeflood:
|
light.treeflood:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: *blue
|
rgb_color: *blue
|
||||||
light.front_door:
|
|
||||||
state: 'on'
|
|
||||||
rgb_color: *white
|
|
||||||
light.outdoor_sconce_1:
|
light.outdoor_sconce_1:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: *white
|
rgb_color: *white
|
||||||
|
@ -352,9 +328,6 @@
|
||||||
light.flood_2:
|
light.flood_2:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: *green
|
rgb_color: *green
|
||||||
light.front_door:
|
|
||||||
state: 'on'
|
|
||||||
rgb_color: *green
|
|
||||||
light.outdoor_sconce_1:
|
light.outdoor_sconce_1:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: *red
|
rgb_color: *red
|
||||||
|
@ -386,9 +359,6 @@
|
||||||
light.flood_2:
|
light.flood_2:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: *red
|
rgb_color: *red
|
||||||
light.front_door:
|
|
||||||
state: 'on'
|
|
||||||
rgb_color: *yellow
|
|
||||||
light.outdoor_sconce_1:
|
light.outdoor_sconce_1:
|
||||||
state: 'on'
|
state: 'on'
|
||||||
rgb_color: *blue
|
rgb_color: *blue
|
||||||
|
|
|
@ -45,7 +45,7 @@ speech_processing:
|
||||||
state: 'off'
|
state: 'off'
|
||||||
- condition: time
|
- condition: time
|
||||||
after: '08:00:00'
|
after: '08:00:00'
|
||||||
before: '21:30:00'
|
before: '22:00:00'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.alert_mode
|
entity_id: input_boolean.alert_mode
|
||||||
state: 'on'
|
state: 'on'
|
||||||
|
|
|
@ -245,7 +245,7 @@
|
||||||
- Paige (Daughter): {{ states('person.paige') }} at {{ states('sensor.paige_place') if states('sensor.paige_place') != None else 'Away' }}
|
- Paige (Daughter): {{ states('person.paige') }} at {{ states('sensor.paige_place') if states('sensor.paige_place') != None else 'Away' }}
|
||||||
and our cat Molly: Always home.
|
and our cat Molly: Always home.
|
||||||
Previous broadcast: "{{ state_attr('sensor.openai_response', 'response') }}"
|
Previous broadcast: "{{ state_attr('sensor.openai_response', 'response') }}"
|
||||||
[Avoid repeating information from the previous broadcast if it was within the hour]
|
[Announce where everyone is if they are not at home. Avoid repeating information from the previous broadcast if it was within the hour]
|
||||||
|
|
||||||
New Information:
|
New Information:
|
||||||
{% if call_no_announcement != 1 %}
|
{% if call_no_announcement != 1 %}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -156,7 +156,7 @@ rules:
|
||||||
- light.led_garage_large
|
- light.led_garage_large
|
||||||
- light.led_garage_small
|
- light.led_garage_small
|
||||||
- light.led_outdoor_den
|
- light.led_outdoor_den
|
||||||
- light.front_door
|
- light.flood_2
|
||||||
states:
|
states:
|
||||||
- state: 'on'
|
- state: 'on'
|
||||||
class: 'light-on'
|
class: 'light-on'
|
||||||
|
|
Loading…
Reference in New Issue