Conversation
jhenkens
added a commit
to jhenkens/lock_code_manager
that referenced
this pull request
Oct 21, 2025
Replace async_config_entry_first_refresh() with async_request_refresh() in async_update_listener() to prevent calling the first_refresh API after the config entry has already transitioned to LOADED state. **Issue:** The async_config_entry_first_refresh() method is only meant to be called during initial setup when the config entry is in SETUP_IN_PROGRESS state. Calling it in async_update_listener() (after the entry is LOADED) will become a hard error in Home Assistant 2025.11. **Fix:** Use async_request_refresh() instead, which is the correct API for refreshing coordinators after initial setup is complete. **Location:** - custom_components/lock_code_manager/__init__.py:466 Fixes TODO raman325#2 - Breaking change deadline: HA 2025.11 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
raman325
added a commit
that referenced
this pull request
Mar 29, 2026
- Fix #1: Add subscribing flag to prevent double-subscription race - Fix #2: Use entry parameter instead of closure in _on_config_update - Fix #3: Add console.warn on subscription failure instead of silent catch - Fix #4: Add type: 'grid' to watcher section in generate-view - Fix #5: Add lcm-config-watcher to HTMLElementTagNameMap, register in main.ts - Fix #6: Add test for slot removal detection - Fix #7: Use frozenset in _get_structure_snapshot for immutable snapshots Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Entire-Checkpoint: d5aa37bae447
This was referenced Mar 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Breaking change
Proposed change
Type of change
Additional information