Disabling Nest Protects for now #250

This commit is contained in:
CCOSTAN 2024-09-25 15:51:00 +00:00
parent 64ab9b1e51
commit 9105e5fc12
9 changed files with 8 additions and 134 deletions

View File

@ -1 +1 @@
2024.10.0.dev202409230230
2024.10.0.dev202409250230

View File

@ -102,7 +102,6 @@
- light.led_garage_snip
- light.led_garage_small
- light.led_outdoor_den
- light.front_door
- light.treeflood
- light.flood_2
- light.pathmiddle

View File

@ -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 }}'

View File

@ -25,12 +25,9 @@
state: 'on'
rgb_color: &smoke [245,245,245]
brightness: 30
light.front_door:
state: 'on'
rgb_color: &red [204,0,0]
light.flood_2:
state: 'on'
rgb_color: *red
rgb_color: &red [204,0,0]
light.outdoor_sconce_3:
state: 'on'
rgb_color: *smoke
@ -68,15 +65,12 @@
light.outdoor_foyer:
state: 'on'
rgb_color: *gold
light.front_door:
state: 'on'
rgb_color: &purple [128,0,128]
light.flood_2:
state: 'on'
rgb_color: *gold
light.outdoor_sconce_1:
state: 'on'
rgb_color: *purple
rgb_color: &purple [128,0,128]
light.outdoor_sconce_2:
state: 'on'
rgb_color: *gold
@ -117,9 +111,6 @@
light.outdoor_foyer:
state: 'on'
rgb_color: &lavender [244,187,255]
light.front_door:
state: 'on'
rgb_color: *lavender
light.flood_2:
state: 'on'
rgb_color: &yellow [255,255,0]
@ -157,9 +148,6 @@
light.flood_2:
state: 'on'
rgb_color: *red
light.front_door:
state: 'on'
rgb_color: *yellow
light.outdoor_sconce_1:
state: 'on'
rgb_color: *smoke
@ -193,9 +181,6 @@
light.flood_2:
state: 'on'
rgb_color: *red
light.front_door:
state: 'on'
rgb_color: *red
light.outdoor_sconce_1:
state: 'on'
rgb_color: *red
@ -239,9 +224,6 @@
light.treeflood:
state: 'on'
rgb_color: *orange
light.front_door:
state: 'on'
rgb_color: *orange
light.outdoor_sconce_1:
state: 'on'
rgb_color: *blue
@ -260,9 +242,6 @@
light.flood_2:
state: 'on'
rgb_color: *green
light.front_door:
state: 'on'
rgb_color: *orange
light.outdoor_sconce_1:
state: 'on'
rgb_color: *orange
@ -316,9 +295,6 @@
light.treeflood:
state: 'on'
rgb_color: *blue
light.front_door:
state: 'on'
rgb_color: *white
light.outdoor_sconce_1:
state: 'on'
rgb_color: *white
@ -352,9 +328,6 @@
light.flood_2:
state: 'on'
rgb_color: *green
light.front_door:
state: 'on'
rgb_color: *green
light.outdoor_sconce_1:
state: 'on'
rgb_color: *red
@ -386,9 +359,6 @@
light.flood_2:
state: 'on'
rgb_color: *red
light.front_door:
state: 'on'
rgb_color: *yellow
light.outdoor_sconce_1:
state: 'on'
rgb_color: *blue

View File

@ -45,7 +45,7 @@ speech_processing:
state: 'off'
- condition: time
after: '08:00:00'
before: '21:30:00'
before: '22:00:00'
- condition: state
entity_id: input_boolean.alert_mode
state: 'on'

View File

@ -245,7 +245,7 @@
- Paige (Daughter): {{ states('person.paige') }} at {{ states('sensor.paige_place') if states('sensor.paige_place') != None else 'Away' }}
and our cat Molly: Always home.
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:
{% if call_no_announcement != 1 %}

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -156,7 +156,7 @@ rules:
- light.led_garage_large
- light.led_garage_small
- light.led_outdoor_den
- light.front_door
- light.flood_2
states:
- state: 'on'
class: 'light-on'