summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/shack/glados/sensors/sensemap.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-12-01 23:20:31 +0100
committermakefu <github@syntax-fehler.de>2020-12-01 23:20:31 +0100
commitc370c87da36bc256cfbc59bb2b0b9ffa1d457168 (patch)
tree43b5ef43963f9cedcb7273d7fb1c4dc01afffb62 /krebs/2configs/shack/glados/sensors/sensemap.nix
parent9f2c161de0f7e807e66dd114f913db6acecd666b (diff)
shack/glados: utilize mergeable home-assistant config
Diffstat (limited to 'krebs/2configs/shack/glados/sensors/sensemap.nix')
-rw-r--r--krebs/2configs/shack/glados/sensors/sensemap.nix15
1 files changed, 9 insertions, 6 deletions
diff --git a/krebs/2configs/shack/glados/sensors/sensemap.nix b/krebs/2configs/shack/glados/sensors/sensemap.nix
index dff29c3c4..c261a28e1 100644
--- a/krebs/2configs/shack/glados/sensors/sensemap.nix
+++ b/krebs/2configs/shack/glados/sensors/sensemap.nix
@@ -1,6 +1,9 @@
-[
- {
- platform = "opensensemap";
- station_id = "56a0de932cb6e1e41040a68b";
- }
-]
+{
+ services.home-assistant.config.air_quality =
+ [
+ {
+ platform = "opensensemap";
+ station_id = "56a0de932cb6e1e41040a68b";
+ }
+ ];
+}