summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home/ham/sensor/outside.nix
diff options
context:
space:
mode:
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";
+ }
];
}