From 7443a8165f52df8ae38957658420f49c0f031772 Mon Sep 17 00:00:00 2001 From: Daan Sieben Date: Fri, 31 May 2024 21:31:42 +0200 Subject: [PATCH] feat: add 20s refresh option #53 --- custom_components/google_photos/const.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/custom_components/google_photos/const.py b/custom_components/google_photos/const.py index b2fb271..1312630 100644 --- a/custom_components/google_photos/const.py +++ b/custom_components/google_photos/const.py @@ -22,6 +22,7 @@ SETTING_INTERVAL_OPTION_NONE = "Never" SETTING_INTERVAL_OPTION_10 = "10 seconds" +SETTING_INTERVAL_OPTION_20 = "20 seconds" SETTING_INTERVAL_OPTION_30 = "30 seconds" SETTING_INTERVAL_OPTION_60 = "60 seconds" SETTING_INTERVAL_OPTION_120 = "120 seconds" @@ -29,6 +30,7 @@ SETTING_INTERVAL_OPTIONS = [ SETTING_INTERVAL_OPTION_NONE, SETTING_INTERVAL_OPTION_10, + SETTING_INTERVAL_OPTION_20, SETTING_INTERVAL_OPTION_30, SETTING_INTERVAL_OPTION_60, SETTING_INTERVAL_OPTION_120, @@ -39,6 +41,7 @@ { SETTING_INTERVAL_OPTION_NONE: None, SETTING_INTERVAL_OPTION_10: 10, + SETTING_INTERVAL_OPTION_20: 20, SETTING_INTERVAL_OPTION_30: 30, SETTING_INTERVAL_OPTION_60: 60, SETTING_INTERVAL_OPTION_120: 120,