Skip to content

Commit

Permalink
feat: add 20s refresh option #53
Browse files Browse the repository at this point in the history
  • Loading branch information
Daanoz committed May 31, 2024
1 parent 11e9dae commit 7443a81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/google_photos/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@

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"
SETTING_INTERVAL_OPTION_300 = "300 seconds"
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,
Expand All @@ -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,
Expand Down

0 comments on commit 7443a81

Please sign in to comment.