Skip to content

Conversation

@springfall2008
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings January 1, 2026 19:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR increases the default timeout for component startup from 5 minutes to 10 minutes. The change affects the wait_api_started() method in the ComponentBase class, which is used by various components (like HAHistory, WebInterface, PredbatMCPServer, etc.) to wait for their APIs to initialize before proceeding.

  • Updated the default timeout parameter from 300 seconds (5 minutes) to 600 seconds (10 minutes)

return self.base.set_state_wrapper(entity_id, state, attributes=attributes, required_unit=required_unit)

def wait_api_started(self, timeout=5 * 60):
def wait_api_started(self, timeout=10 * 60):
Copy link

Copilot AI Jan 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docstring on line 248 still references the old default timeout value of "560" seconds but the code now uses "1060". The docstring should be updated to reflect the new default timeout of 10 minutes (e.g., "default: 10*60").

Copilot uses AI. Check for mistakes.
@springfall2008 springfall2008 merged commit 6bb8995 into main Jan 1, 2026
1 check passed
@springfall2008 springfall2008 deleted the fixes5 branch January 1, 2026 19:47
@springfall2008 springfall2008 changed the title Increase timeout to 10 minutes Increase component timeout to 10 minutes Jan 1, 2026
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.

2 participants