From 217dffa8efce1db7618905e780c64eacf0d63d41 Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 4 Dec 2022 21:53:01 +0100 Subject: ma ham: add heizung --- makefu/2configs/home/ham/sensor/dwd.nix | 2 ++ makefu/2configs/home/ham/sensor/outside.nix | 9 +++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'makefu/2configs/home/ham/sensor') diff --git a/makefu/2configs/home/ham/sensor/dwd.nix b/makefu/2configs/home/ham/sensor/dwd.nix index c1d55d03..623f099a 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 332746be..d05e8a1f 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 ); + 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"; + } ]; } -- cgit v1.2.3