summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/shack/glados/sensors
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-01-10 09:59:11 +0100
committermakefu <github@syntax-fehler.de>2020-01-10 09:59:11 +0100
commit5f3dcaa95810e1729a884df1d999b236c6eaaccc (patch)
tree11f005ebb695a778bdd499fc6e7fc45776c2a821 /krebs/2configs/shack/glados/sensors
parent8c0cf30a2d271c3360d356209350774e634a4543 (diff)
shack/glados: use host consistently
Diffstat (limited to 'krebs/2configs/shack/glados/sensors')
-rw-r--r--krebs/2configs/shack/glados/sensors/hass.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/krebs/2configs/shack/glados/sensors/hass.nix b/krebs/2configs/shack/glados/sensors/hass.nix
index 997344366..8de0ef391 100644
--- a/krebs/2configs/shack/glados/sensors/hass.nix
+++ b/krebs/2configs/shack/glados/sensors/hass.nix
@@ -1,5 +1,5 @@
let
glados = import ../lib;
in
- (map (name: glados.esphome.temp {inherit name;}) [ "lounge" "werkstatt" "herrenklo" "dusche" "fablab" "whc" ])
- ++ (map (name: glados.esphome.hum {inherit name;}) [ "lounge" "werkstatt" "herrenklo" "dusche" "fablab" "whc" ])
+ (map (host: glados.esphome.temp {inherit host;}) [ "lounge" "werkstatt" "herrenklo" "dusche" "fablab" "whc" ])
+ ++ (map (host: glados.esphome.hum {inherit host;}) [ "lounge" "werkstatt" "herrenklo" "dusche" "fablab" "whc" ])