feature/per-person-presence#133
Merged
Merged
Conversation
Introduce separate per-person away tracking and derive the house-wide away boolean from it. - New PresenceScenario enum and PresenceManager app: sets input_boolean.awayvincent/awaycarleen from person.* + auto-away, derives away = both away, and runs per-scenario actions. - Vincent-only departure notification (no notification for Carleen) and 09:00 Carleen wake-up scheduling moved into PresenceManager. - VincentModel/CarleenModel.IsHome now follow the per-person away booleans instead of the shared away boolean. - AwayManager slimmed down to the welcome-home state machine. - IsNightMode fix: add IsVincentNightMode so the living room stays active when Vincent is awake but Carleen is sleeping. - Hall switch button 1 now toggles "everybody away". - SleepManager clears per-person away when going to sleep. - Remove dead WaterSensorDouche subscription (entity no longer exists). - Tests for PresenceManager away-derivation/notification and living room night-mode behaviour. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Alarm: gang motion only alarms when nobody is home (!Vincent.IsHome && !Carleen.IsHome), so Carleen moving around no longer triggers an alarm while Vincent is away. - Remove now-unused Globals.AmIHomeCheck. - BathRoom toothbrush idle routine now fires when either person is home. - Drop flaky WhenTurnsOn-based notification tests (Throttle runs on the default scheduler, not the TestScheduler, making them non-deterministic). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
No description provided.