Refactor alarm configuration with enhanced documentation and additional HVAC control. Updated notes for clarity and removed legacy action sequences to streamline automation.

This commit is contained in:
Carlo Costanzo
2025-12-01 09:35:46 -05:00
parent 7420ac96b9
commit 25f3c5255d

View File

@@ -1,10 +1,12 @@
#-------------------------------------------
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# Alarm Package - Arming helpers, sensors, and alerting.
#-------------------------------------------
###################################################################### ######################################################################
## Alarm sensors, customization, and automations for home security. # @CCOSTAN - Follow Me on X
# For more info visit https://www.vcloudinfo.com/click-here
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# -------------------------------------------------------------------
# Alarm Package - Arming helpers, sensors, and alerting.
# Alarm sensors, customization, and automations for home security.
# -------------------------------------------------------------------
# Notes: Turns HVAC off when doors/windows are open and restores cool mode after closure.
###################################################################### ######################################################################
homeassistant: homeassistant:
customize_glob: customize_glob:
@@ -289,6 +291,10 @@ automation:
- service: climate.turn_on - service: climate.turn_on
data: data:
entity_id: climate.downstairs entity_id: climate.downstairs
- service: climate.set_hvac_mode
data:
entity_id: climate.downstairs
hvac_mode: cool
#-------------------------------------------#------------------------------------------- #-------------------------------------------#-------------------------------------------
- alias: 'Alarm lights in Living room' - alias: 'Alarm lights in Living room'
@@ -310,20 +316,6 @@ automation:
entity_id: group.bed entity_id: group.bed
state: 'off' state: 'off'
# action:
# - choose:
# - conditions:
# - condition: state
# entity_id: group.entry_points
# state: on
#
# sequence:
# - service: script.siren
# data:
# duration: 60
# - service: light.turn_on
# entity_id: all
action: action:
- choose: - choose:
- conditions: > - conditions: >
@@ -336,20 +328,6 @@ automation:
- service: scene.turn_on - service: scene.turn_on
entity_id: scene.tv_time entity_id: scene.tv_time
# - service: >-
# {% if states.group.entry_points.state == 'on' or states.group.garage_doors.state != 'closed' -%}
# light.turn_on
# entity_id:
# - light.living_room_accents
# color_name: 'red'
# {% else %}
# light.turn_on
# entity_id:
# - light.living_room_accents
# color_name: 'gold'
# {% endif %}
#-------------------------------------------#--- #-------------------------------------------#---
- alias: "Panel Door opened" - alias: "Panel Door opened"
id: 62d10d70-8092-4daa-9dcb-ed2bec6c6194 id: 62d10d70-8092-4daa-9dcb-ed2bec6c6194