stuf
This commit is contained in:
parent
880d5187c9
commit
4da544fee8
2 changed files with 43 additions and 46 deletions
|
@ -145,35 +145,34 @@ in {
|
||||||
to = "off";
|
to = "off";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
action = [
|
action = [{
|
||||||
{
|
service = "input_select.select_option";
|
||||||
service = "input_select.select_option";
|
data = {
|
||||||
data = {
|
entity_id = "input_select.scene";
|
||||||
entity_id = "input_select.scene";
|
option = "outside";
|
||||||
option = "outside";
|
};
|
||||||
};
|
}
|
||||||
}
|
#{
|
||||||
#{
|
# service = "input_select.select_option";
|
||||||
# service = "input_select.select_option";
|
# data_template = {
|
||||||
# data_template = {
|
# entity_id = "input_select.heater_state_memory";
|
||||||
# entity_id = "input_select.heater_state_memory";
|
# option = ''
|
||||||
# option = ''
|
# {% if not is_state("input_select.heater_state", "off") %}
|
||||||
# {% if not is_state("input_select.heater_state", "off") %}
|
# {{ states('input_select.heater_state') }}
|
||||||
# {{ states('input_select.heater_state') }}
|
# {%- else -%}
|
||||||
# {%- else -%}
|
# {{ states('input_select.heater_state_memory') }}
|
||||||
# {{ states('input_select.heater_state_memory') }}
|
# {%- endif %}
|
||||||
# {%- endif %}
|
# '';
|
||||||
# '';
|
# };
|
||||||
# };
|
#}
|
||||||
#}
|
#{
|
||||||
#{
|
# service = "input_select.select_option";
|
||||||
# service = "input_select.select_option";
|
# data = {
|
||||||
# data = {
|
# entity_id = "input_select.heater_state";
|
||||||
# entity_id = "input_select.heater_state";
|
# option = "off";
|
||||||
# option = "off";
|
# };
|
||||||
# };
|
#}
|
||||||
#}
|
];
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -198,22 +197,21 @@ in {
|
||||||
value_template =
|
value_template =
|
||||||
''{{ states.input_select.scene.state == "outside" }}'';
|
''{{ states.input_select.scene.state == "outside" }}'';
|
||||||
};
|
};
|
||||||
action = [
|
action = [{
|
||||||
{
|
service = "input_select.select_option";
|
||||||
service = "input_select.select_option";
|
data = {
|
||||||
data = {
|
entity_id = "input_select.scene";
|
||||||
entity_id = "input_select.scene";
|
option = "default";
|
||||||
option = "default";
|
};
|
||||||
};
|
}
|
||||||
}
|
#{
|
||||||
#{
|
# service = "input_select.select_option";
|
||||||
# service = "input_select.select_option";
|
# data_template = {
|
||||||
# data_template = {
|
# entity_id = "input_select.heater_state";
|
||||||
# entity_id = "input_select.heater_state";
|
# option = "{{ states('input_select.heater_state_memory') }}";
|
||||||
# option = "{{ states('input_select.heater_state_memory') }}";
|
# };
|
||||||
# };
|
#}
|
||||||
#}
|
];
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# window roles
|
# window roles
|
||||||
|
|
|
@ -17,7 +17,6 @@ let
|
||||||
# domain will redirect to this map. (not play.${domain})
|
# domain will redirect to this map. (not play.${domain})
|
||||||
defaultMap = "mrvandalo.github.io/workadventure-worlds/main.json";
|
defaultMap = "mrvandalo.github.io/workadventure-worlds/main.json";
|
||||||
|
|
||||||
|
|
||||||
apiURL = "api.${domain}";
|
apiURL = "api.${domain}";
|
||||||
apiPort = 9002;
|
apiPort = 9002;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue