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