summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/shack/glados/sensors/hass.nix
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/2configs/shack/glados/sensors/hass.nix')
-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 ced6d9752..997344366 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 glados.esphome.temp [ "lounge" "werkstatt" "herrenklo" "dusche" "fablab" "whc" ])
- ++ (map glados.esphome.hum [ "lounge" "werkstatt" "herrenklo" "dusche" "fablab" "whc" ])
+ (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" ])