summaryrefslogtreecommitdiffstats
path: root/2configs/home/ham/sensor/outside.nix
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
commit2cb4d90b81ea0c734b3312125e468beeae4cf811 (patch)
treed5d3dfed059eff2a906821a5b797b532c76dc1a9 /2configs/home/ham/sensor/outside.nix
parent34d626e1f8a5c119a6050e2ab16b7dd8784c9b5e (diff)
ma ham: add heizung
Diffstat (limited to '2configs/home/ham/sensor/outside.nix')
-rw-r--r--2configs/home/ham/sensor/outside.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/2configs/home/ham/sensor/outside.nix b/2configs/home/ham/sensor/outside.nix
index 332746be8..d05e8a1f6 100644
--- a/2configs/home/ham/sensor/outside.nix
+++ b/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";
+ }
];
}