Files
Home-AssistantConfig/config/packages/alexa_media_player.yaml
Carlo Costanzo 14294b5b5f 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.
2025-12-04 10:29:19 -05:00

17 lines
815 B
YAML
Executable File

######################################################################
# @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.
# -------------------------------------------------------------------
######################################################################
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') }}