Edited states for my needs

This commit is contained in:
2022-04-04 18:48:20 -04:00
parent b98f9db4c3
commit 67199dbd87

View File

@ -167,13 +167,13 @@ sensor:
friendly_name: "Alexa Audio"
value_template: >-
{%- if is_state('sensor.last_alexa', 'media_player.living_room_echo_dot') %}
living_room
Living Room Echo Dot
{% elif is_state('sensor.last_alexa', 'media_player.basement_echo_dot') %}
basement
Basement Echo Dot
{% elif is_state('sensor.last_alexa', 'media_player.master_bedroom_echo_dot') %}
master_bedroom
Master Bedroom Echo Dot
{% else %}
everywhere
Everywhere
{%- endif %}
last_alexa:
value_template: >