Compare commits

...

19 Commits

Author SHA1 Message Date
github-actions[bot]
c070cedc53 Update HA version badge to 2025.11.3 2025-11-22 04:19:21 +00:00
Carlo Costanzo
4fa5f6ab91 Delete homeassistant.code-workspace 2025-11-21 23:19:02 -05:00
github-actions[bot]
244617f0b1 Update HA version badge to 2025.11.3 2025-11-22 03:55:20 +00:00
Carlo Costanzo
a61f83c0e3 Enhance light management by excluding specific lights from automation and updating Living Room light configuration. This improves clarity and control over lighting conditions. 2025-11-21 22:54:57 -05:00
github-actions[bot]
2ec804ac53 Update HA version badge to 2025.11.3 2025-11-22 03:06:17 +00:00
Carlo Costanzo
be5bfa1d32 Add entity configuration for Living Room lights and remove main slider from light groups. Enhances clarity in light management.- Finally fix the Alexa change the color commands. 2025-11-21 22:05:57 -05:00
github-actions[bot]
17bde7b75c Update HA version badge to 2025.11.3 2025-11-22 02:51:49 +00:00
Carlo Costanzo
00190bbafb Update HA version to 2025.11.3 and remove outdoor pool lights from various configurations and automations. This includes updates to configuration files, light groups, and automation scripts to enhance clarity and maintainability. Cleaned up all the spook errors. (most of them) 2025-11-21 21:51:30 -05:00
github-actions[bot]
64713fd3f0 Update HA version badge to 2025.11.2 2025-11-21 23:16:02 +00:00
Carlo Costanzo
0a42f42a0b Refactor Kitchen Accent power notification to ensure parents are informed when the plug is switched off. The notification action has been moved to enhance clarity and maintainability of the automation script. #771 2025-11-21 18:15:34 -05:00
github-actions[bot]
65c8376a66 Update HA version badge to 2025.11.2 2025-11-21 22:56:18 +00:00
Carlo Costanzo
9bcd5fd226 Add notification for Kitchen Accent power status to inform parents when the plug is switched off. Enhances user awareness for kitchen appliance management. Notify Stacey when she turns off the Kitchen Accent switch.
Fixes #771
2025-11-21 17:55:41 -05:00
github-actions[bot]
034afadd40 Update HA version badge to 2025.11.2 2025-11-21 22:49:20 +00:00
Carlo Costanzo
630253e1d8 Add automation to notify users when the Kitchen Accent power is cut and switches go offline. Includes triggers for switch state changes and conditions to check the state of a specific group. Enhances user awareness for kitchen appliances. Closes Closes Notify Stacey when she turns off the Kitchen Accent switch.
Fixes #771
2025-11-21 17:48:57 -05:00
Carlo Costanzo
fb5a8b82ef Add automation to notify users to restore PoE ports after grid power is restored. This includes a trigger for grid status change and conditions to check the state of specific PoE ports. Enhances user awareness post-outage. Power Outage
Fixes #1527
2025-11-21 17:48:57 -05:00
github-actions[bot]
12d1d56ce2 Update HA version badge to 2025.11.2 2025-11-21 22:24:48 +00:00
Carlo Costanzo
aa0bbd5b81 Add automations for managing Rheem water heater during Powerwall outages. Includes turning off the heater at sunset and restoring operation after sunrise when battery charge is above 50%. closes Power Outage
Fixes #1527
2025-11-21 17:24:16 -05:00
github-actions[bot]
4a23d76eb2 Update HA version badge to 2025.11.2 2025-11-21 22:11:46 +00:00
Carlo Costanzo
8bf8f51b0b Add automation to shut down non-essential devices when Powerwall charge drops below 75%. Include kitchen and bathroom accent switches in existing automations. 2025-11-21 17:11:17 -05:00
19 changed files with 209 additions and 150 deletions

View File

@@ -1 +1 @@
2025.11.2
2025.11.3

View File

@@ -1,40 +0,0 @@
#-------------------------------------------
# When the Sliding door opens, at night, turn on Pool deck lights.
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
#-------------------------------------------
- alias: Pool Deck light helper
id: 9521d521-00dc-4116-b467-5150735fcff9
trigger:
- platform: state
entity_id: binary_sensor.MCU2_GPIO12
to: 'on'
for: '00:3:00'
- platform: state
entity_id: sun.sun
to: 'below_horizon'
from: 'above_horizon'
condition:
- condition: state
entity_id: sun.sun
state: 'below_horizon'
- condition: state
entity_id: binary_sensor.MCU2_GPIO12
state: 'on'
- condition: numeric_state
entity_id: sensor.pirateweather_temperature
below: 80
action:
- service: switch.turn_on
entity_id: switch.back_landscaping
- service: light.turn_on
entity_id: light.outdoor_pool_lights
data:
color_temp: 369
- wait_template: >-
{{ states.binary_sensor.MCU2_GPIO12.state == 'off' }}
- service: light.turn_off
entity_id: light.outdoor_pool_lights

View File

@@ -12,20 +12,22 @@
event_type: state_changed
condition:
- condition: template
value_template: >
{{ trigger.event.data.old_state is not none
and trigger.event.data.new_state is not none
and trigger.event.data.old_state.state == 'off'
and trigger.event.data.new_state.state == 'on' }}
- condition: state
entity_id: group.family
state: 'home'
- condition: state
entity_id: input_boolean.alert_mode
state: 'off'
- condition: template
value_template: "{{ trigger.event.data is not none }}"
- condition: template
value_template: "{{ trigger.event.data.entity_id is not none }}"
- condition: template
value_template: "{{ trigger.event.data.entity_id.split('.')[0] == 'light' }}"
# - condition: template
# value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.tv' }}"
- condition: template
value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.couch' }}"
- condition: template
@@ -34,14 +36,8 @@
value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.flood_2' }}"
- condition: template
value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.treeflood' }}"
# - condition: template
# value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.led' }}"
- condition: template
value_template: "{{ trigger.event.data.entity_id.split('_')[1] != 'screensaver' }}"
- condition: template
value_template: "{{ trigger.event.data.new_state.state == 'on' }}"
- condition: template
value_template: "{{ trigger.event.data.old_state.state == 'off' }}"
action:
- service: light.turn_on

View File

@@ -52,3 +52,39 @@
- light.hallway
- light.hallway_lights
- light.foyer
##############################################################################
### Alert when the Kitchen Accent power is cut and the switches go offline
##############################################################################
- alias: Kitchen Accent Power Reminder
id: b7c767d3-359f-4db4-9156-bba9e7d90602
mode: single
trigger:
- platform: state
entity_id:
- switch.kitchen_accent_1
- switch.kitchen_accent_2
to: 'unavailable'
for: '00:00:30'
condition:
- condition: state
entity_id: group.bed
state: 'off'
- condition: template
value_template: "{{ trigger.from_state is not none and trigger.from_state.state != 'unavailable' }}"
action:
- service: script.notify_engine
data:
title: "Kitchen Accent Power"
value1: "The Kitchen Accent plug was switched off. Please turn it back on."
who: 'parents'
- service: notify.alexa_media_kitchen
data:
message: "The Kitchen Accent plug was switched off. Please turn it back on."
data:
type: announce

View File

@@ -21,7 +21,6 @@
entity_id:
- group.exterior_lights
- light.outdoor_front_lights
- light.outdoor_pool_lights
- group.outdoor_seasonal
- service: light.turn_off

View File

@@ -25,7 +25,7 @@
- service: homeassistant.turn_on
entity_id:
- switch.front_landscaping
- switch.villaneri
# - switch.villaneri
- light.bedroom
- group.outdoor_seasonal
- service: script.monthly_color_scene
@@ -55,4 +55,3 @@
entity_id:
- light.living_room_accents
- light.upstairs_lamp

View File

@@ -67,12 +67,6 @@
entity_id: light.k4
to: 'on'
for: '00:20:00'
- platform: state
entity_id: binary_sensor.hallway_pantry
to: 'off'
- platform: state
entity_id: binary_sensor.hallway_linen
to: 'off'
condition:
condition: state

View File

@@ -3,53 +3,6 @@
## Home Assistant runs on my [Raspberry Pi 3](https://amzn.to/2e3DOBY) with [Aeon Labs Z Wave Stick (GEN 5)](https://amzn.to/2eAiAP0).
###################################
##############################################################
- alias: Hallway ZWave Enerwave Door Sensors Open
id: 1dbd1ba4-6718-4510-b5ab-2a6edd540be4
trigger:
- platform: state
entity_id: binary_sensor.hallway_pantry
to: 'on'
- platform: state
entity_id: binary_sensor.hallway_linen
to: 'on'
condition:
condition: or
conditions:
- condition: sun
after: sunset
after_offset: '-03:00:00'
- condition: numeric_state
entity_id: sensor.pirateweather_cloud_coverage
above: 50
action:
- service: light.turn_on
entity_id:
- light.kids_hallway
- light.k4
- delay: 00:20:00
- service: light.turn_off
entity_id: light.kids_hallway
##############################################################
- alias: ZWave Enerwave Door Sensors Closed
id: ceaeca80-e6dc-4b18-9d77-02cc4b09d272
trigger:
- platform: state
entity_id: binary_sensor.hallway_pantry
to: 'off'
- platform: state
entity_id: binary_sensor.hallway_linen
to: 'off'
action:
service: light.turn_off
entity_id: light.kids_hallway
##############################################################
- alias: Shutdown Helper light
id: e3f4beff-4fa8-42e3-be5a-32b45106ac8a
@@ -59,12 +12,6 @@
entity_id: light.k4
to: 'on'
for: '00:20:00'
- platform: state
entity_id: binary_sensor.hallway_pantry
to: 'off'
- platform: state
entity_id: binary_sensor.hallway_linen
to: 'off'
condition:
condition: state

View File

@@ -47,7 +47,6 @@ cloud:
- light.living_room_lights
- light.office_lights
- light.outdoor_front_lights
- light.outdoor_pool_lights
- light.upstairs_lights
- light.upstairs_lamp
- light.sink
@@ -56,6 +55,18 @@ cloud:
- cover
- input_boolean
- camera
exclude_entities:
- light.m1_back_left
- light.m1_back_right
- light.m1_front_left
- light.m1_front_right
- light.main_slider
- light.living_room
entity_config:
light.living_room_lights:
name: Living Room Color Lights
light.main_slider:
name: Living Room Slider
#discovery:
# This groups up lights but displays them as light.xxxx

View File

@@ -21,7 +21,6 @@ Interior_Lights:
Exterior_Lights:
entities:
- light.outdoor_bathroom
- light.outdoor_pool_lights
- light.outdoor_front_lights
- group.landscaping
- group.outdoor_seasonal

View File

@@ -1,8 +1,6 @@
doors:
name: Doors
entities:
- binary_sensor.hallway_linen
- binary_sensor.hallway_pantry
# - binary_sensor.kitchen_door
- binary_sensor.MCU2_GPIO12 # Main Slider
- binary_sensor.MCU3_Light # Alarm Door

View File

@@ -2,6 +2,5 @@ motion:
name: Motion Detectors
entities:
- binary_sensor.office_motion
- binary_sensor.frontdoorbell_all_occupancy

View File

@@ -43,7 +43,6 @@ filter:
- light.living_room_lights
- light.office_lights
- light.outdoor_front_lights
- light.outdoor_pool_lights
- light.upstairs_lights
- light.upstairs_lamp
- light.sink
@@ -57,7 +56,6 @@ filter:
entity_config:
camera.frontdoorbell:
linked_motion_sensor: binary_sensor.frontdoorbell_all_occupancy
video_codec: copy
stream_source: rtsp://192.168.10.14:8554/frontdoorbell?mp4
camera.poolcam:

View File

@@ -36,7 +36,6 @@
- light.m1_back_right
- light.m1_front_left
- light.m1_front_right
- light.main_slider
- platform: group
name: Living Room Accents
@@ -83,14 +82,6 @@
- light.s3
- light.s4
- platform: group
name: Outdoor Pool Lights
entities:
- light.p1_front_left
- light.p1_front_right
- light.p1_back_left
- light.p1_back_right
- platform: group
name: Outdoor Front Lights
entities:

View File

@@ -11,7 +11,7 @@ group:
entities:
- switch.front_landscaping
- switch.back_landscaping
- switch.villaneri
# - switch.villaneri
#-------------------------------------------
# Automation : Added to Sunset_ON
# Automation : Added to Sunset_OFF

View File

@@ -45,6 +45,8 @@ automation:
entity_id:
- group.interior_lights
- group.exterior_lights
- switch.kitchen_accent_2
- switch.master_bathroom_accent_2
- service: script.notify_engine
data:
title: "Electrical Grid Status {{ (trigger.to_state.state)|replace('True', 'up')|replace('False', 'down') }}."
@@ -58,6 +60,8 @@ automation:
entity_id:
- group.interior_lights
- group.exterior_lights
- switch.kitchen_accent_2
- switch.master_bathroom_accent_2
- service: script.speech_engine
data:
@@ -69,6 +73,8 @@ automation:
entity_id:
- group.interior_lights
- group.exterior_lights
- switch.kitchen_accent_2
- switch.master_bathroom_accent_2
- service: script.speech_engine
data:
@@ -95,6 +101,127 @@ automation:
who: 'parents'
group: 'information'
- alias: "Shut down Docker hosts and camera PoE at 75% Powerwall"
id: 25b3d3d8-92fa-454a-9f1c-6d3fd0f3af58
description: "Protect battery by shutting down non-essentials when Powerwall drops below 75%"
mode: single
trigger:
- platform: numeric_state
entity_id: sensor.powerwall_charge
below: 75
for:
minutes: 3
action:
- service: button.press
target:
entity_id:
- button.qemu_docker2_101_shutdown
- button.qemu_docker69_169_shutdown
- service: switch.turn_off
target:
entity_id:
- switch.poe_garage_port_3_poe
- switch.poe_garage_port_4_poe
- switch.poe_garage_port_5_poe
- switch.poe_garage_port_6_poe
- alias: "Powerwall outage - Rheem WH off at night"
id: d686f650-65ad-4cc6-8e27-8b5ee76b5338
description: "During outages, turn off the water heater after sunset to protect battery"
mode: single
trigger:
- platform: sun
event: sunset
- platform: state
entity_id: binary_sensor.powerwall_grid_status
to: 'off'
for:
minutes: 1
condition:
- condition: state
entity_id: binary_sensor.powerwall_grid_status
state: 'off'
- condition: or
conditions:
- condition: sun
after: sunset
- condition: sun
before: sunrise
action:
- service: water_heater.set_operation_mode
target:
entity_id: water_heater.rheem_wh
data:
state: off
- alias: "Powerwall outage - Rheem WH heat pump after sunrise and 50%"
id: 7b6e8bb0-7d0c-4e63-89cf-ff6e7811b579
description: "During outages, restore water heater to heat pump once battery is healthy during daytime"
mode: single
trigger:
- platform: sun
event: sunrise
- platform: numeric_state
entity_id: sensor.powerwall_charge
above: 50
for:
minutes: 5
- platform: state
entity_id: binary_sensor.powerwall_grid_status
to: 'off'
for:
minutes: 1
condition:
- condition: state
entity_id: binary_sensor.powerwall_grid_status
state: 'off'
- condition: numeric_state
entity_id: sensor.powerwall_charge
above: 50
- condition: sun
after: sunrise
before: sunset
action:
- service: water_heater.set_operation_mode
target:
entity_id: water_heater.rheem_wh
data:
state: heat_pump
- alias: "Notify to restore PoE ports when grid returns"
id: 1ae8b5c5-8627-4a44-8c8a-5bf8ca5e1bf5
description: "Prompt to turn PoE ports back on after outage shutdown steps"
mode: single
trigger:
- platform: state
entity_id: binary_sensor.powerwall_grid_status
from: 'off'
to: 'on'
for:
minutes: 10
condition:
- condition: or
conditions:
- condition: state
entity_id: switch.poe_garage_port_3_poe
state: 'off'
- condition: state
entity_id: switch.poe_garage_port_4_poe
state: 'off'
- condition: state
entity_id: switch.poe_garage_port_5_poe
state: 'off'
- condition: state
entity_id: switch.poe_garage_port_6_poe
state: 'off'
action:
- service: script.notify_engine
data:
title: "Grid restored - turn PoE ports back on"
value1: "Power is back. Remember to re-enable PoE ports 3-6 if cameras stayed offline."
who: 'family'
group: 'information'
# https://github.com/CCOSTAN/Home-AssistantConfig/issues/547
- alias: Turn off the Nest Thermostats during a Power Outage
id: 022bd9da-ab7c-4c1b-9e95-2ff4ffe5f9cc

View File

@@ -5,6 +5,7 @@
# https://github.com/CCOSTAN/Home-AssistantConfig/issues/892
# https://www.home-assistant.io/integrations/econet/
#-------------------------------------------
# Powerwall outage control for Rheem WH lives in config/packages/powerwall.yaml
##############################################################################
### Automations
@@ -76,6 +77,22 @@ automation:
data:
value1: "The available hot water is now above 50%. Normal showering can resume. Gallons used today: {{sensor.phyn_daily_water_usage}}"
#-------------------------------------------
# Available Rheem entities snapshot (for reference)
# automation.rheem_water_heater_health_monitoring
# automation.rheem_water_heater_hot_water_availability_alert
# binary_sensor.rheem_wh_running
# binary_sensor.rheem_wh_shutoff_valve
# sensor.rheem_wh_alert_count
# sensor.rheem_wh_available_hot_water
# sensor.rheem_wh_compressor_health
# sensor.rheem_wh_override_status
# sensor.rheem_wh_power_usage_today
# sensor.rheem_wh_running_state
# sensor.rheem_wh_tank_health
# sensor.rheem_wh_water_usage_today
# sensor.rheem_wh_wifi_signal
# water_heater.rheem_wh

View File

@@ -1,16 +1,16 @@
<svg width="68.5" height="20" viewBox="0 0 685 200" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="2025.11.2">
<title>2025.11.2</title>
<linearGradient id="Fdmcs" x2="0" y2="100%">
<svg width="68.5" height="20" viewBox="0 0 685 200" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="2025.11.3">
<title>2025.11.3</title>
<linearGradient id="zqUaA" x2="0" y2="100%">
<stop offset="0" stop-opacity=".1" stop-color="#EEE"/>
<stop offset="1" stop-opacity=".1"/>
</linearGradient>
<mask id="NvMYP"><rect width="685" height="200" rx="30" fill="#FFF"/></mask>
<g mask="url(#NvMYP)">
<mask id="kqsOC"><rect width="685" height="200" rx="30" fill="#FFF"/></mask>
<g mask="url(#kqsOC)">
<rect width="685" height="200" fill="#08C" x="0"/>
<rect width="685" height="200" fill="url(#Fdmcs)"/>
<rect width="685" height="200" fill="url(#zqUaA)"/>
</g>
<g aria-hidden="true" fill="#fff" text-anchor="start" font-family="Verdana,DejaVu Sans,sans-serif" font-size="110">
<text x="65" y="148" textLength="570" fill="#000" opacity="0.25">2025.11.2</text>
<text x="55" y="138" textLength="570">2025.11.2</text>
<text x="65" y="148" textLength="570" fill="#000" opacity="0.25">2025.11.3</text>
<text x="55" y="138" textLength="570">2025.11.3</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 815 B

After

Width:  |  Height:  |  Size: 815 B

View File

@@ -1,12 +0,0 @@
{
"folders": [
{
"path": "."
}
],
"settings": {
"files.associations": {
"*.yaml": "home-assistant"
}
}
}