Skip to content

Set default values for window open and rest time in database schema#53

Merged
Bekkie merged 1 commit into
AmpScm:mainfrom
Bekkie:fix-window-time-null-values
May 4, 2026
Merged

Set default values for window open and rest time in database schema#53
Bekkie merged 1 commit into
AmpScm:mainfrom
Bekkie:fix-window-time-null-values

Conversation

@Bekkie
Copy link
Copy Markdown
Collaborator

@Bekkie Bekkie commented May 4, 2026

Summary

This PR was implemented after the report in issue TodaLocal #10, where window_open_time and window_rest_time could be returned as null and break Home Assistant text entities.

Changes

  • set non-null database defaults for window_open_time and window_rest_time
    (to ensure zones without explicit timeout values set return defaults of 30 and 15)
  • extend route coverage for defaulted zone window_time data
  • ignore .zip artifacts in the repository

@Bekkie Bekkie merged commit 8411043 into AmpScm:main May 4, 2026
5 checks passed
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