2020-06-07 14:29:26 -04:00
|
|
|
#-------------------------------------------
|
|
|
|
|
# @CCOSTAN
|
|
|
|
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
Standardizing on Headers for all YAML files.
- Updated comments in various YAML configuration files to provide clearer descriptions of functionalities and integrations.
- Improved documentation for alarm, alexa_media_player, backups, blink, cbyge, climate, finance, fridge, garadget, glances, hass_agent_homepc, holiday, ios, landscape_lighting, lightning, logger, medicine, nfc_tags, noonhome, office_motion, phynplus, powerwall, printer, processmonitor, proxmox, rachio, rheem_econet, roku, sleepiq, space, speedtest, stats, superbowl, vacuum, wireless, and youtube packages.
- Added relevant links and issue references where applicable to enhance user guidance and support.
2025-11-29 13:17:00 -05:00
|
|
|
# Alexa Media Player - Sensors and notifications via Alexa Media integration.
|
2020-06-07 14:29:26 -04:00
|
|
|
#-------------------------------------------
|
Standardizing on Headers for all YAML files.
- Updated comments in various YAML configuration files to provide clearer descriptions of functionalities and integrations.
- Improved documentation for alarm, alexa_media_player, backups, blink, cbyge, climate, finance, fridge, garadget, glances, hass_agent_homepc, holiday, ios, landscape_lighting, lightning, logger, medicine, nfc_tags, noonhome, office_motion, phynplus, powerwall, printer, processmonitor, proxmox, rachio, rheem_econet, roku, sleepiq, space, speedtest, stats, superbowl, vacuum, wireless, and youtube packages.
- Added relevant links and issue references where applicable to enhance user guidance and support.
2025-11-29 13:17:00 -05:00
|
|
|
######################################################################
|
|
|
|
|
## Track Alexa media state and expose routine/command triggers.
|
|
|
|
|
######################################################################
|
2020-06-07 14:29:26 -04:00
|
|
|
sensor:
|
|
|
|
|
- platform: template
|
|
|
|
|
sensors:
|
|
|
|
|
last_alexa:
|
|
|
|
|
value_template: >
|
2024-09-18 18:05:53 +00:00
|
|
|
{{ states.media_player | selectattr('attributes.last_called','eq',True) | map(attribute='entity_id') | first | default('none') }}
|
2020-06-07 14:29:26 -04:00
|
|
|
|
|
|
|
|
#-------------------------------------------
|