This commit is contained in:
Ingolf Wagner 2021-01-17 16:57:35 +01:00
parent 880d5187c9
commit 4da544fee8
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 43 additions and 46 deletions

View file

@ -145,35 +145,34 @@ in {
to = "off";
}
];
action = [
{
service = "input_select.select_option";
data = {
entity_id = "input_select.scene";
option = "outside";
};
}
#{
# service = "input_select.select_option";
# data_template = {
# entity_id = "input_select.heater_state_memory";
# option = ''
# {% if not is_state("input_select.heater_state", "off") %}
# {{ states('input_select.heater_state') }}
# {%- else -%}
# {{ states('input_select.heater_state_memory') }}
# {%- endif %}
# '';
# };
#}
#{
# service = "input_select.select_option";
# data = {
# entity_id = "input_select.heater_state";
# option = "off";
# };
#}
];
action = [{
service = "input_select.select_option";
data = {
entity_id = "input_select.scene";
option = "outside";
};
}
#{
# service = "input_select.select_option";
# data_template = {
# entity_id = "input_select.heater_state_memory";
# option = ''
# {% if not is_state("input_select.heater_state", "off") %}
# {{ states('input_select.heater_state') }}
# {%- else -%}
# {{ states('input_select.heater_state_memory') }}
# {%- endif %}
# '';
# };
#}
#{
# service = "input_select.select_option";
# data = {
# entity_id = "input_select.heater_state";
# option = "off";
# };
#}
];
}
{
@ -198,22 +197,21 @@ in {
value_template =
''{{ states.input_select.scene.state == "outside" }}'';
};
action = [
{
service = "input_select.select_option";
data = {
entity_id = "input_select.scene";
option = "default";
};
}
#{
# service = "input_select.select_option";
# data_template = {
# entity_id = "input_select.heater_state";
# option = "{{ states('input_select.heater_state_memory') }}";
# };
#}
];
action = [{
service = "input_select.select_option";
data = {
entity_id = "input_select.scene";
option = "default";
};
}
#{
# service = "input_select.select_option";
# data_template = {
# entity_id = "input_select.heater_state";
# option = "{{ states('input_select.heater_state_memory') }}";
# };
#}
];
}
# window roles

View file

@ -17,7 +17,6 @@ let
# domain will redirect to this map. (not play.${domain})
defaultMap = "mrvandalo.github.io/workadventure-worlds/main.json";
apiURL = "api.${domain}";
apiPort = 9002;