Skip to content

Commit

Permalink
extending period
Browse files Browse the repository at this point in the history
  • Loading branch information
bruxy70 committed Jul 17, 2022
1 parent f6e8f67 commit edebf8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/garbage_collection/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def detail_config_schema(
if options[const.CONF_FREQUENCY] in const.WEEKLY_DAILY_MONTHLY:
# "every-n-weeks", "every-n-days", "monthly"
options_schema[required(const.CONF_PERIOD, options)] = vol.All(
vol.Coerce(int), vol.Range(min=1, max=365)
vol.Coerce(int), vol.Range(min=1, max=1000)
)
if options[const.CONF_FREQUENCY] in const.WEEKLY_FREQUENCY_X:
# every-n-weeks
Expand Down

0 comments on commit edebf8a

Please sign in to comment.