Didn't need the quotes
This commit is contained in:
@ -531,31 +531,31 @@ script:
|
|||||||
data:
|
data:
|
||||||
who: >
|
who: >
|
||||||
{% if who in ['living_room_echo_dot', 'media_player.living_room_echo_dot','living_room','Living Room Echo Dot','Living Room'] %}
|
{% if who in ['living_room_echo_dot', 'media_player.living_room_echo_dot','living_room','Living Room Echo Dot','Living Room'] %}
|
||||||
'living_room'
|
living_room
|
||||||
{% elif who in ['kallen_bedroom','media_player.kallen_bedroom_speaker','Kallen Bedroom'] %}
|
{% elif who in ['kallen_bedroom','media_player.kallen_bedroom_speaker','Kallen Bedroom'] %}
|
||||||
'kallen_bedroom'
|
kallen_bedroom
|
||||||
{% elif who in ['master_bedroom','master_bedroom_echo_dot','media_player.master_bedroom_echo_dot','Master Bedroom Echo Dot','Master Bedroom'] %}
|
{% elif who in ['master_bedroom','master_bedroom_echo_dot','media_player.master_bedroom_echo_dot','Master Bedroom Echo Dot','Master Bedroom'] %}
|
||||||
'master_bedroom'
|
master_bedroom
|
||||||
{% elif who in ['Basement','basement','basement_echo_dot','media_player.basement_echo_dot','Basement Echo Dot'] %}
|
{% elif who in ['Basement','basement','basement_echo_dot','media_player.basement_echo_dot','Basement Echo Dot'] %}
|
||||||
{% if is_state('input_boolean.studio_quiet','on') %}
|
{% if is_state('input_boolean.studio_quiet','on') %}
|
||||||
'living_room'
|
living_room
|
||||||
{% else %}
|
{% else %}
|
||||||
'basement'
|
basement
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elif who in ['Common Areas','common','common_areas'] %}
|
{% elif who in ['Common Areas','common','common_areas'] %}
|
||||||
{% if is_state('input_boolean.studio_quiet','on') %}
|
{% if is_state('input_boolean.studio_quiet','on') %}
|
||||||
'living_room'
|
living_room
|
||||||
{% else %}
|
{% else %}
|
||||||
'common'
|
common
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elif who in ['Everywhere','everywhere'] %}
|
{% elif who in ['Everywhere','everywhere'] %}
|
||||||
{% if is_state('input_boolean.studio_quiet','on') %}
|
{% if is_state('input_boolean.studio_quiet','on') %}
|
||||||
'alexa_no_basement'
|
alexa_no_basement
|
||||||
{% else %}
|
{% else %}
|
||||||
'everywhere'
|
everywhere
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
'living_room_echo_dot'
|
living_room_echo_dot
|
||||||
{% endif %}
|
{% endif %}
|
||||||
message: >
|
message: >
|
||||||
{% if who in ['Basement','basement','basement_echo_dot','media_player.basement_echo_dot','Basement Echo Dot'] and is_state('input_boolean.studio_quiet','on') %}
|
{% if who in ['Basement','basement','basement_echo_dot','media_player.basement_echo_dot','Basement Echo Dot'] and is_state('input_boolean.studio_quiet','on') %}
|
||||||
|
Reference in New Issue
Block a user