From dbbb535db546949ad86d3caaddbd0c1ee6d1a82d Mon Sep 17 00:00:00 2001
From: Jan Grewe <jan@faked.org>
Date: Sat, 28 May 2022 15:40:26 +0200
Subject: [PATCH] make timezone a secret

---
 propbox.yaml      | 2 +-
 secrets.yaml.dist | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/propbox.yaml b/propbox.yaml
index a915ec5..27e16d4 100644
--- a/propbox.yaml
+++ b/propbox.yaml
@@ -180,7 +180,7 @@ interval:
 time:
   - platform: sntp
     id: sntp_time
-    timezone: "Europe/Berlin"
+    timezone: $timezone
     update_interval: 1h
     on_time:
       - cron: ${schedule_grow_on}
diff --git a/secrets.yaml.dist b/secrets.yaml.dist
index 5fdf315..458c71c 100644
--- a/secrets.yaml.dist
+++ b/secrets.yaml.dist
@@ -3,3 +3,4 @@ wifi_password: "bar"
 ota_password: ""
 api_password: ""
 domain: "local"
+timezone: "Europe/Berlin"
-- 
GitLab