diff options
author | lassulus <lassulus@lassul.us> | 2020-03-23 10:15:42 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2020-03-23 10:15:42 +0100 |
commit | 8c27f12f86096f06e56333125eb6c713aece34ed (patch) | |
tree | 83d29ab23719468ff6e8d31f29963dd449edbef2 /krebs/2configs/shack/glados/sensors/darksky.nix | |
parent | cab3be8a19d445d3292454099dbc1ca97bca60c5 (diff) | |
parent | 8e3cd9fcffc473706a3ebafa5cb80f7a75c29aa5 (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'krebs/2configs/shack/glados/sensors/darksky.nix')
-rw-r--r-- | krebs/2configs/shack/glados/sensors/darksky.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/krebs/2configs/shack/glados/sensors/darksky.nix b/krebs/2configs/shack/glados/sensors/darksky.nix new file mode 100644 index 000000000..c8725b868 --- /dev/null +++ b/krebs/2configs/shack/glados/sensors/darksky.nix @@ -0,0 +1,21 @@ +{lib,...}: +[ + { platform = "darksky"; + api_key = lib.removeSuffix "\n" + (builtins.readFile <secrets/hass/darksky.apikey>); + 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:15:00"; + } +] |