Edited states for my needs
This commit is contained in:
@ -167,13 +167,13 @@ sensor:
|
|||||||
friendly_name: "Alexa Audio"
|
friendly_name: "Alexa Audio"
|
||||||
value_template: >-
|
value_template: >-
|
||||||
{%- if is_state('sensor.last_alexa', 'media_player.living_room_echo_dot') %}
|
{%- 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') %}
|
{% 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') %}
|
{% elif is_state('sensor.last_alexa', 'media_player.master_bedroom_echo_dot') %}
|
||||||
master_bedroom
|
Master Bedroom Echo Dot
|
||||||
{% else %}
|
{% else %}
|
||||||
everywhere
|
Everywhere
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
last_alexa:
|
last_alexa:
|
||||||
value_template: >
|
value_template: >
|
||||||
|
Reference in New Issue
Block a user