summaryrefslogtreecommitdiffstats
path: root/2configs/bureautomation/sensor/outside.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-03-17 20:04:13 +0100
committermakefu <github@syntax-fehler.de>2021-03-17 20:04:13 +0100
commit8f28cca155e19149119ae5d48b02bc61c1737b14 (patch)
treea7af326d4ec277be1e78fab93d6145144a40acdb /2configs/bureautomation/sensor/outside.nix
parentccb7748f634eb09c39662c8b4cddb2af1eae4079 (diff)
ma bureautomation: fix runtime issues
Diffstat (limited to '2configs/bureautomation/sensor/outside.nix')
-rw-r--r--2configs/bureautomation/sensor/outside.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/2configs/bureautomation/sensor/outside.nix b/2configs/bureautomation/sensor/outside.nix
index b5d25ecd3..e7b4d9a7c 100644
--- a/2configs/bureautomation/sensor/outside.nix
+++ b/2configs/bureautomation/sensor/outside.nix
@@ -20,10 +20,13 @@
units = "si" ;
scan_interval = "00:30:00";
}
- { platform = "luftdaten";
- name = "Ditzingen";
- sensorid = "5341";
- monitored_conditions = [ "P1" "P2" ];
- }
];
+ services.home-assistant.config.luftdaten = {
+ sensor_id = "26237";
+ show_on_map = true;
+ sensors.monitored_conditions = [
+ "P1"
+ "P2"
+ ];
+ };
}