From 4da544fee8376af42399d3e2bf0513fb442a1229 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sun, 17 Jan 2021 16:57:35 +0100 Subject: [PATCH] stuf --- configs/pepe/home-assistant.nix | 88 +++++++++---------- .../configs/nixserver-host/workadventure.nix | 1 - 2 files changed, 43 insertions(+), 46 deletions(-) diff --git a/configs/pepe/home-assistant.nix b/configs/pepe/home-assistant.nix index bb6b152..9f54c70 100644 --- a/configs/pepe/home-assistant.nix +++ b/configs/pepe/home-assistant.nix @@ -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 diff --git a/terranix/workadventure-jitsi-setup/plops/configs/nixserver-host/workadventure.nix b/terranix/workadventure-jitsi-setup/plops/configs/nixserver-host/workadventure.nix index 38c2c40..2126eac 100644 --- a/terranix/workadventure-jitsi-setup/plops/configs/nixserver-host/workadventure.nix +++ b/terranix/workadventure-jitsi-setup/plops/configs/nixserver-host/workadventure.nix @@ -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;