From 94b9cb9be1a43b8ca190c8a4f03c0070bcf73225 Mon Sep 17 00:00:00 2001 From: James Walker Date: Sat, 24 Jul 2021 18:56:37 -0400 Subject: [PATCH] =?UTF-8?q?=E2=9B=85=20add=20darksky=20for=20weather=20(fo?= =?UTF-8?q?r=20now)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .stubs/secrets.yaml | 4 +++- packages/darksky.yaml | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 packages/darksky.yaml diff --git a/.stubs/secrets.yaml b/.stubs/secrets.yaml index a97ddd4..ad63d55 100644 --- a/.stubs/secrets.yaml +++ b/.stubs/secrets.yaml @@ -1,4 +1,6 @@ home_latititude: 1 home_longitude: 1 home_elevation: 1 -db_url: +db_url: sqlite:///config/test.db + +darksky_api_key: 00aa00aa00aa00aa00aa00aa00aa00aa \ No newline at end of file diff --git a/packages/darksky.yaml b/packages/darksky.yaml new file mode 100644 index 0000000..0eb1faf --- /dev/null +++ b/packages/darksky.yaml @@ -0,0 +1,10 @@ +--- +# The darksky platform uses the Dark Sky web service as a source for +# meteorological data for your location. +# +# https://www.home-assistant.io/integrations/weather.darksky/ +# +weather: + - platform: darksky + api_key: !secret darksky_api_key + mode: hourly \ No newline at end of file