Adjust speech templates for clarity and enhance powerwall automation conditions for better performance.

This commit is contained in:
Carlo Costanzo
2025-08-18 09:23:20 -04:00
parent edbb6aa608
commit 74e2042d57
11 changed files with 33 additions and 89 deletions

View File

@@ -29,29 +29,3 @@ script:
entity_id: media_player.paige_room
media_content_id: paigelighton
media_content_type: routine
garage_lights_off:
alias: 'ALL Garage Lights Off'
sequence:
- service: media_player.play_media
data:
entity_id: media_player.garage
media_content_id: 'turn off c life 3'
media_content_type: custom
- delay: "00:01:30"
- service: media_player.play_media
data:
entity_id: media_player.garage
media_content_id: 'turn off c sleep 1'
media_content_type: custom
- delay: "00:01:30"
- service: media_player.play_media
data:
entity_id: media_player.garage
media_content_id: 'turn off c sleep 2'
media_content_type: custom

View File

@@ -120,7 +120,7 @@ automation:
who: "Carlo"
group: "maintenance"
- alias: 'AC Status off Announcement'
- alias: 'AC Status Announcement'
id: 7812fdaf-a3f8-498b-8f07-28e977e528fe
trigger:
- platform: state
@@ -128,6 +128,11 @@ automation:
- climate.downstairs
- climate.upstairs
from: 'off'
- platform: state
entity_id:
- climate.downstairs
- climate.upstairs
to: 'off'
action:
- service: script.speech_engine
data:

View File

@@ -32,7 +32,7 @@ automation:
- service: script.speech_engine
data:
value1: "Attention! The fridge door has been open for more than 5 minutes. Please close the fridge door."
value1: "[Tell Household the Fridge Door is Open for more than 5 minutes]"
- delay: 00:30:00
- event: event_fridge_door_open

View File

@@ -269,7 +269,6 @@ automation:
DoorClosed: "The {{ trigger.entity_id.split('.')[1]|replace('_', ' ') }} is now {{ (trigger.to_state.state)|replace('_', ' ') }}."
call_garage_check: 1
- delay: "00:10:00"
- service: script.garage_lights_off
default:
- service: script.speech_engine
@@ -316,11 +315,11 @@ automation:
value1: >
"The wind speed is {{ states('sensor.pirateweather_wind_speed')|round}} miles per hour. For safety, please close the garage doors.
{% if is_state('cover.large_garage_door', 'open') -%}
The Large Garage Door is open
Large Garage Door: open
{% endif -%}
{% if is_state('cover.small_garage_door', 'open') -%}
{% if is_state('cover.large_garage_door', 'open') -%}and
{%- endif %} The small Garage Door is open.
{%- endif %} Small Garage Door: open.
{% endif %}"
##############################################################################
@@ -379,7 +378,7 @@ automation:
- service: script.speech_engine
data:
value1: "Check the garage doors. The Small garage is {{ states('cover.small_garage_door')}} and the large garage is {{ states('cover.large_garage_door')}} [Only mention the garage door that is open and remind us to close it for the night]"
value1: "Check the garage doors. The Small garage is {{ states('cover.small_garage_door')}} and the large garage is {{ states('cover.large_garage_door')}} [Always mention the specific garage door that is currently open and remind us to close it for the night]"
- alias: 'Garage Camera on Alexa Shows'
id: 4373df2a-77f2-4e19-be7c-46c7b27ca583
@@ -437,7 +436,6 @@ automation:
media_content_id: 'hide garage camera'
media_content_type: custom
- service: script.garage_lights_off
- alias: 'Garage Camera on Alexa Shows'
id: 4373df2a-77f2-4e19-be7c-46c7b27ca583
@@ -494,6 +492,5 @@ automation:
data:
media_content_id: 'hide garage camera'
media_content_type: custom
- service: script.garage_lights_off

View File

@@ -1,24 +0,0 @@
#-------------------------------------------
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# Minecraft related stuff
#-------------------------------------------
automation:
- alias: Someone on the MC server!
id: e7cc50d1-2374-4923-8e0c-2a59ff593cf8
trigger:
- platform: state
entity_id: sensor.minecraft_players_online
action:
- service: script.notify_engine
data:
value1: >
{% if states.sensor.minecraft_players_online.state|int > 0 %}
{{ states.sensor.minecraft_players_online.state }} player(s) connected to Minecraft server
{% else %}
All players disconnected from Minecraft server
{% endif %}
title: "Minecraft Server Status"
who: 'carlo'
group: 'information'

View File

@@ -38,7 +38,7 @@ automation:
trigger:
- platform: state
entity_id: binary_sensor.powerwall_grid_status
to: 'False'
to: 'off'
action:
- service: homeassistant.turn_off
@@ -102,7 +102,7 @@ automation:
trigger:
- platform: state
entity_id: binary_sensor.powerwall_grid_status
to: 'False'
to: 'off'
for:
minutes: 6
@@ -130,10 +130,10 @@ automation:
trigger:
- platform: state
entity_id: binary_sensor.powerwall_grid_status
from: 'False'
to: 'True'
from: 'off'
to: 'on'
for:
minutes: 5
minutes: 10
condition:
- condition: template
@@ -151,7 +151,7 @@ automation:
- service: climate.set_hvac_mode
data:
entity_id: climate.downstairs
hvac_mode: auto
hvac_mode: cool
- service: climate.set_hvac_mode
data:
entity_id: climate.upstairs