summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home/ham/sensor
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2022-12-04 21:53:01 +0100
committermakefu <github@syntax-fehler.de>2022-12-04 21:53:01 +0100
commit217dffa8efce1db7618905e780c64eacf0d63d41 (patch)
tree480a600db46972c80cca7edf73f8473893168d7a /makefu/2configs/home/ham/sensor
parentae39dfcefee2fe3cb369dabed074f14f5af7d6b5 (diff)
ma ham: add heizung
Diffstat (limited to 'makefu/2configs/home/ham/sensor')
-rw-r--r--makefu/2configs/home/ham/sensor/dwd.nix2
-rw-r--r--makefu/2configs/home/ham/sensor/outside.nix9
2 files changed, 9 insertions, 2 deletions
diff --git a/makefu/2configs/home/ham/sensor/dwd.nix b/makefu/2configs/home/ham/sensor/dwd.nix
index c1d55d03c..623f099a3 100644
--- a/makefu/2configs/home/ham/sensor/dwd.nix
+++ b/makefu/2configs/home/ham/sensor/dwd.nix
@@ -4,5 +4,7 @@
{ platform = "dwd_weather_warnings";
region_name = "Stadt Stuttgart";
}
+ { platform = "nina";
+ }
];
}
diff --git a/makefu/2configs/home/ham/sensor/outside.nix b/makefu/2configs/home/ham/sensor/outside.nix
index 332746be8..d05e8a1f6 100644
--- a/makefu/2configs/home/ham/sensor/outside.nix
+++ b/makefu/2configs/home/ham/sensor/outside.nix
@@ -4,8 +4,7 @@
services.home-assistant.config.sensor =
[
{ platform = "darksky";
- api_key = lib.removeSuffix "\n"
- (builtins.readFile <secrets/hass/darksky.apikey>);
+ api_key = "!secret darksky";
language = "de";
monitored_conditions = [
"summary" "icon"
@@ -21,5 +20,11 @@
units = "si" ;
scan_interval = "00:30:00";
}
+ {
+ platform = "open_meteo";
+ }
+ {
+ platform = "met";
+ }
];
}