Repository navigation
feat(autolearn): take minute values from Home Assistant - #294
Merged
Merged
Conversation
Developer-Simon
marked this pull request as draft
November 22, 2026 21:56
Developer-Simon
marked this pull request as ready for review
November 23, 2026 18:00
Developer-Simon
force-pushed
the
feat/automation-learning-ha-source
branch
2 times, most recently
from
November 23, 2026 18:25
ce139e0 to
90162c2
Compare
…ompanion Add the learnrec server peer HASync. It announces the learning series to the companion, fetches missing days as 1m values (last 7 days) or 5m values (up to 30 days) and keeps them in RAM only. Requests run one at a time, the newest days first, within RAMMinuteBytes/2. Replies after the deadline or of another tier are dropped, Drop clears the cache. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… minutes Add the pause_with_companion mode, the learning_ha_reconcile_disabled setting and the companion fields of the minute status. Auto without a drive and with a paired companion pauses in RAM, an explicit always stays always. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…h gaps before the heavy run The heavy learning run reads the own minutes first and fills the gaps from the Home Assistant cache. Before a daily round, the engine fetches the missing days of the last 14 days from the companion and drops the cache afterwards. HASync gains Days and WaitIdle for the status and the wait. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The minute recording switch becomes a radio group with Always, Pause while Home Assistant delivers, and Off. The pause row is disabled without a paired companion and links to the users page. A reconcile switch and a paused note show next to it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…urce Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…urce Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Developer-Simon
force-pushed
the
feat/automation-learning-ha-source
branch
from
November 23, 2026 18:28
90162c2 to
33c7bcb
Compare
|
Exemption granted by Developer-Simon with 👍. No tour is required for these highlights:
|
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.
Squash-merge commit message
Highlight translations
Tour
noneSummary
Home Assistant now serves as a source of minute values for the learning functions. The replay PR (#295) is merged, this PR is rebased on prerelease.
Checks
scripts/dev/check_tracked_secrets.shis clean.