- Updated .gitignore to include new IP change configuration file. - Bumped Home Assistant version to 2025.12.0. - Modified logbook.yaml to exclude specific alarm panel entities for cleaner logs. - Refactored alexa_media_player.yaml and climate.yaml to use template sensors for better organization and clarity. - Added new template sensors in climate.yaml for tracking AC cooling status. - Updated glances.yaml to define a template sensor for average temperature. - Enhanced stats.yaml with new template sensors for various counts (sensors, automations, scripts, etc.). - Removed outdated superbowl.yaml and weather_camera.yaml.disabled configurations. - Updated README.md to reflect the new location of IP change monitoring.pull/1545/head
parent
b61c28f186
commit
14294b5b5f
@ -1 +1 @@
|
||||
2025.11.3
|
||||
2025.12.0
|
||||
@ -1,16 +1,16 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
######################################################################
|
||||
# @CCOSTAN - Follow Me on X
|
||||
# For more info visit https://www.vcloudinfo.com/click-here
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# -------------------------------------------------------------------
|
||||
# Alexa Media Player - Sensors and notifications via Alexa Media integration.
|
||||
#-------------------------------------------
|
||||
######################################################################
|
||||
## Track Alexa media state and expose routine/command triggers.
|
||||
# Track Alexa media state and expose routine/command triggers.
|
||||
# -------------------------------------------------------------------
|
||||
######################################################################
|
||||
sensor:
|
||||
- platform: template
|
||||
sensors:
|
||||
last_alexa:
|
||||
value_template: >
|
||||
{{ states.media_player | selectattr('attributes.last_called','eq',True) | map(attribute='entity_id') | first | default('none') }}
|
||||
|
||||
#-------------------------------------------
|
||||
template:
|
||||
- sensor:
|
||||
- name: "Last Alexa"
|
||||
unique_id: last_alexa
|
||||
state: >
|
||||
{{ states.media_player | selectattr('attributes.last_called','eq',True) | map(attribute='entity_id') | first | default('none') }}
|
||||
|
||||
@ -1,109 +0,0 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# Super Bowl Lights - Flash routines on scoring events.
|
||||
#-------------------------------------------
|
||||
######################################################################
|
||||
## Game-day automations; update sensors yearly. Issue #1502.
|
||||
######################################################################
|
||||
automation:
|
||||
- alias: 'Super Bowl Team Score Change'
|
||||
id: 5b3a4c89-1234-4567-8901-23456789abcd
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sensor.team_tracker_kc
|
||||
attribute: team_score
|
||||
- platform: state
|
||||
entity_id: sensor.team_tracker_phi
|
||||
attribute: team_score
|
||||
condition:
|
||||
- condition: template
|
||||
value_template: "{{ now().month == 2 }}"
|
||||
action:
|
||||
- service: input_boolean.turn_on
|
||||
target:
|
||||
entity_id: input_boolean.flash
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id:
|
||||
- light.outdoor_front_lights
|
||||
- light.living_room_accents
|
||||
- light.m1_back_left
|
||||
- light.m1_back_right
|
||||
- light.m1_front_left
|
||||
- light.m1_front_right
|
||||
- light.main_slider
|
||||
data:
|
||||
rgb_color: >
|
||||
{% if trigger.entity_id == 'sensor.team_tracker_phi' %}
|
||||
[0, 255, 0]
|
||||
{% else %}
|
||||
[255, 0, 0]
|
||||
{% endif %}
|
||||
brightness: 255
|
||||
- delay:
|
||||
minutes: 5
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id:
|
||||
- light.m1_back_left
|
||||
- light.m1_back_right
|
||||
data:
|
||||
brightness: 255
|
||||
rgb_color: [255, 255, 255]
|
||||
|
||||
- alias: 'Super Bowl Winner Celebration'
|
||||
id: 5b3a4c89-1234-4567-8901-23456789abce
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.team_tracker_kc
|
||||
- sensor.team_tracker_phi
|
||||
attribute: team_winner
|
||||
to: 'true'
|
||||
condition:
|
||||
- condition: template
|
||||
value_template: "{{ now().month == 2 }}"
|
||||
action:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id:
|
||||
- light.outdoor_front_lights
|
||||
- light.living_room_accents
|
||||
- light.m1_back_left
|
||||
- light.m1_back_right
|
||||
- light.m1_front_left
|
||||
- light.m1_front_right
|
||||
- light.main_slider
|
||||
data:
|
||||
rgb_color: >
|
||||
{% if trigger.entity_id == 'sensor.team_tracker_phi' %}
|
||||
[0, 255, 0]
|
||||
{% else %}
|
||||
[255, 0, 0]
|
||||
{% endif %}
|
||||
brightness: 255
|
||||
effect: 'colorloop'
|
||||
- delay:
|
||||
minutes: 3
|
||||
- service: light.turn_on
|
||||
target:
|
||||
entity_id:
|
||||
- light.outdoor_front_lights
|
||||
- light.living_room_accents
|
||||
- light.m1_back_left
|
||||
- light.m1_back_right
|
||||
- light.m1_front_left
|
||||
- light.m1_front_right
|
||||
- light.main_slider
|
||||
data:
|
||||
rgb_color: >
|
||||
{% if trigger.entity_id == 'sensor.team_tracker_phi' %}
|
||||
[0, 255, 0]
|
||||
{% else %}
|
||||
[255, 0, 0]
|
||||
{% endif %}
|
||||
brightness: 255
|
||||
effect: 'none'
|
||||
@ -1,48 +0,0 @@
|
||||
#-------------------------------------------
|
||||
# Pirate Weather Forecast Sensors
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
|
||||
automation:
|
||||
- alias: "Update Daily Weather Forecasts"
|
||||
id: a8717b62-da37-4811-9f7c-96d178a7bfda_daily
|
||||
trigger:
|
||||
- platform: time_pattern
|
||||
minutes: "/30"
|
||||
action:
|
||||
- service: weather.get_forecasts
|
||||
data:
|
||||
type: daily
|
||||
target:
|
||||
entity_id: weather.pirateweather
|
||||
response_variable: daily
|
||||
|
||||
- alias: "Update Hourly Weather Forecasts"
|
||||
id: a8717b62-da37-4811-9f7c-96d178a7bfda_hourly
|
||||
trigger:
|
||||
- platform: time_pattern
|
||||
minutes: "/30"
|
||||
action:
|
||||
- service: weather.get_forecasts
|
||||
data:
|
||||
type: hourly
|
||||
target:
|
||||
entity_id: weather.pirateweather
|
||||
response_variable: hourly
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
sensors:
|
||||
pirateweather_daily:
|
||||
friendly_name: "Pirate Weather Daily"
|
||||
unique_id: pirateweather_daily
|
||||
value_template: "{{ daily['weather.pirateweather'].forecast[0].condition }}"
|
||||
attribute_templates:
|
||||
forecast: "{{ daily['weather.pirateweather'].forecast }}"
|
||||
|
||||
pirateweather_hourly:
|
||||
friendly_name: "Pirate Weather Hourly"
|
||||
unique_id: pirateweather_hourly
|
||||
value_template: "{{ hourly['weather.pirateweather'].forecast[0].condition }}"
|
||||
attribute_templates:
|
||||
forecast: "{{ hourly['weather.pirateweather'].forecast[:24] }}"
|
||||
@ -1,11 +0,0 @@
|
||||
#-------------------------------------------
|
||||
# Camera Related Packages
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
|
||||
#---Sensor for Light-----------------------------
|
||||
camera:
|
||||
- platform: generic
|
||||
still_image_url: 'https://icons.wxug.com/data/weather-maps/radar/united-states/saint-petersburg-florida-region-current-radar.gif'
|
||||
# still_image_url: 'https://radblast.wunderground.com/cgi-bin/radar/WUNIDS_map?station=MCO&brand=wui&num=1&delay=15&type=TR0&frame=0&scale=1.000&noclutter=0&showstorms=0&mapx=400&mapy=240¢erx=400¢ery=240&transx=0&transy=0&showlabels=1&severe=0&rainsnow=0&lightning=0&smooth=0&rand=25183060&lat=0&lon=0&label=you'
|
||||
name: WU Doppler Weather
|
||||
Loading…
Reference in new issue