Lots of little bug fixes! #1141

This commit is contained in:
CCOSTAN
2024-09-18 18:05:53 +00:00
parent 16164f93f7
commit 348ea39056
2 changed files with 19 additions and 15 deletions

View File

@@ -9,7 +9,7 @@ sensor:
sensors:
last_alexa:
value_template: >
{{ states.media_player | selectattr('attributes.last_called','eq',True) | map(attribute='entity_id') | first }}
{{ states.media_player | selectattr('attributes.last_called','eq',True) | map(attribute='entity_id') | first | default('none') }}
#-------------------------------------------