Repository navigation
Fix settings lost on restart (empty settings event, wake word None) - #331
Closed
GlebYavorski wants to merge 1 commit into
Closed
GlebYavorski wants to merge 1 commit into
GlebYavorski wants to merge 1 commit into
Conversation
…wake word Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
|
Thanks for this but taken a different strategy by amending the way it is handled in the apk. |
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.
Fixes #330
Two startup races that make the device receive
settings: {}after a Home Assistant or app restart:assist_satellite.py: don't wipedevice.custom_settingsin__init__if select/number entities have already restored their values into it.select.py: restore the saved wake word even if the options list (which depends on the engine anddevice.info) isn't populated yet; skip onlyunknown/unavailable.Tested on 0.13.3 since 2026-09-25 (Samsung A13, LineageOS 23.2, HA 2026.9.3): after HA restart and after app force-stop the device receives the full settings set, wake word and wake sound intact.
🤖 Generated with Claude Code