summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home/ham/sensor/outside.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2022-12-09 14:33:18 +0100
committertv <tv@krebsco.de>2022-12-09 14:33:18 +0100
commit581c20be8f792d48d54465e27845aa184c5677bd (patch)
tree82b067f4ca97adbaafbd6d84a4e20adb778cdbf6 /makefu/2configs/home/ham/sensor/outside.nix
parentdc63f2af6b5f21ccecb5c22087efe4a60db8978b (diff)
parent1df762657baf7d0c27a178113e613c94e6b12aa3 (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/home/ham/sensor/outside.nix')
-rw-r--r--makefu/2configs/home/ham/sensor/outside.nix9
1 files changed, 7 insertions, 2 deletions
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";
+ }
];
}