diff options
author | makefu <github@syntax-fehler.de> | 2023-06-03 15:27:46 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2023-06-03 15:27:46 +0200 |
commit | 5f8b941728d15caa0244f10109c1e18f355f91bb (patch) | |
tree | 6fef755c35d520c2f13e88d148035f4ec5558754 /2configs/home/ham/sensor | |
parent | 614f5911107e42d2ee2e6713dc387f773425ab1a (diff) |
ma home: deploy home-assistant via docker
Diffstat (limited to '2configs/home/ham/sensor')
-rw-r--r-- | 2configs/home/ham/sensor/outside.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/2configs/home/ham/sensor/outside.nix b/2configs/home/ham/sensor/outside.nix index e7467617b..061c4e981 100644 --- a/2configs/home/ham/sensor/outside.nix +++ b/2configs/home/ham/sensor/outside.nix @@ -40,5 +40,16 @@ { platform = "accuweather"; api_key = "!secret accuweather"; } + { platform = "scrape"; + resource = "https://www.swr.de/wetter/wetter-liste-swr-100.html"; + name = "SWR Prognose"; + select = "p[data-refresh=\"weather-headline\"]"; + } + { platform = "scrape"; + resource = "https://www.swr.de/wetter/wetter-liste-swr-100.html"; + name = "SWR Prognose Langtext"; + select = "p[data-refresh=\"weather-text\"]"; + } + ]; } |