Edited states for my needs
This commit is contained in:
@ -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: >
|
||||
|
Reference in New Issue
Block a user