From ee74b8a9ae77587ed94f9c63a28cb495badd397b Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 9 Mar 2021 22:14:51 +0100 Subject: ma ham -> ma home/ham --- 2configs/home/ham/sensor/outside.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 2configs/home/ham/sensor/outside.nix (limited to '2configs/home/ham/sensor') diff --git a/2configs/home/ham/sensor/outside.nix b/2configs/home/ham/sensor/outside.nix new file mode 100644 index 000000000..332746be8 --- /dev/null +++ b/2configs/home/ham/sensor/outside.nix @@ -0,0 +1,25 @@ +{lib,...}: + +{ + services.home-assistant.config.sensor = + [ + { platform = "darksky"; + api_key = lib.removeSuffix "\n" + (builtins.readFile ); + language = "de"; + monitored_conditions = [ + "summary" "icon" + "nearest_storm_distance" "precip_probability" + "precip_intensity" + "temperature" # "temperature_high" "temperature_low" + "apparent_temperature" + "hourly_summary" # next 24 hours text + "humidity" + "pressure" + "uv_index" + ]; + units = "si" ; + scan_interval = "00:30:00"; + } + ]; +} -- cgit v1.2.3 [cgit] Unable to lock slot /tmp/cgit/b4300000.lock: No such file or directory (2)