Skip to content

Reload: fix double engine when reload runs during HA boot - #13

Merged
vfilby merged 1 commit into
mainfrom
worktree-reload-service
Aug 25, 2026
Merged

Reload: fix double engine when reload runs during HA boot#13
vfilby merged 1 commit into
mainfrom
worktree-reload-service

Conversation

@vfilby

@vfilby vfilby commented Aug 25, 2026

Copy link
Copy Markdown
Owner

A reload before EVENT_HOMEASSISTANT_STARTED stopped the not-yet-started engine, then the deferred start listener started it anyway — two engines subscribed. Stop now marks the engine stopped and cancels the listener. 0.7.1.

🤖 Generated with Claude Code

async_setup defers engine start to EVENT_HOMEASSISTANT_STARTED. A reload
issued before that fired stopped the (not yet started) engine, then the
listener started it anyway, leaving two engines subscribed. async_stop
now marks the engine stopped (start becomes a no-op) and cancels the
deferred-start listener. 0.7.1.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vfilby
vfilby merged commit 04ed834 into main Aug 25, 2026
3 checks passed
@vfilby
vfilby deleted the worktree-reload-service branch August 25, 2026 02:47
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