mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-12-03 03:21:47 +00:00
- 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.
17 lines
732 B
YAML
Executable File
17 lines
732 B
YAML
Executable File
#-------------------------------------------
|
|
# @CCOSTAN
|
|
# 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.
|
|
######################################################################
|
|
sensor:
|
|
- platform: template
|
|
sensors:
|
|
last_alexa:
|
|
value_template: >
|
|
{{ states.media_player | selectattr('attributes.last_called','eq',True) | map(attribute='entity_id') | first | default('none') }}
|
|
|
|
#-------------------------------------------
|