From 25f3c5255dafc884b58d686a16dfa2e22f44695c Mon Sep 17 00:00:00 2001 From: Carlo Costanzo Date: Mon, 1 Dec 2025 09:35:46 -0500 Subject: [PATCH] Refactor alarm configuration with enhanced documentation and additional HVAC control. Updated notes for clarity and removed legacy action sequences to streamline automation. --- config/packages/alarm.yaml | 46 ++++++++++---------------------------- 1 file changed, 12 insertions(+), 34 deletions(-) diff --git a/config/packages/alarm.yaml b/config/packages/alarm.yaml index 5f762242..45f6eb77 100755 --- a/config/packages/alarm.yaml +++ b/config/packages/alarm.yaml @@ -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: customize_glob: @@ -289,6 +291,10 @@ automation: - service: climate.turn_on data: entity_id: climate.downstairs + - service: climate.set_hvac_mode + data: + entity_id: climate.downstairs + hvac_mode: cool #-------------------------------------------#------------------------------------------- - alias: 'Alarm lights in Living room' @@ -310,20 +316,6 @@ automation: entity_id: group.bed 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: - choose: - conditions: > @@ -336,20 +328,6 @@ automation: - service: scene.turn_on 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" id: 62d10d70-8092-4daa-9dcb-ed2bec6c6194