Skip to content

Extend multi-day averaging (MDA) to weekly programs#400

Open
bertieconfundo wants to merge 1 commit into
OpenSprinkler:masterfrom
bertieconfundo:mda-weekly
Open

Extend multi-day averaging (MDA) to weekly programs#400
bertieconfundo wants to merge 1 commit into
OpenSprinkler:masterfrom
bertieconfundo:mda-weekly

Conversation

@bertieconfundo
Copy link
Copy Markdown

Extract get_weekday() helper from check_day_match() and add days_since_last() method to ProgramStruct. This allows weekly programs to use the md_scales[] array for weather-based watering level adjustments, matching the existing interval program behavior.

Extract get_weekday() helper from check_day_match() and add
days_since_last() method to ProgramStruct. This allows weekly
programs to use the md_scales[] array for weather-based watering
level adjustments, matching the existing interval program behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant