mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-12-12 10:02:18 +00:00
Update configuration files and enhance sensor definitions based on Future Breaking CHANGES for HA.
- 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.
This commit is contained in:
@@ -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') }}
|
||||
|
||||
Reference in New Issue
Block a user