v1.2.7-rc3 - Bedtime & school time "today" controls
Pre-release
Pre-release
Third pre-release candidate for v1.2.7. Includes everything from rc1 + rc2 plus a schedule parsing fix.
Fixed
- School time switch now actually locks/unlocks the child device (rc1) -
switch.<child>_school_timeandenable_school_time/disable_school_timenow post a daily override viatimeLimitOverrides:batchCreate(action=2 to enable, action=1 to disable) covering now → 23:59 for today's weekday - mirroring the official web app's "Today" toggle. The previoustimeLimit:update-only approach had no effect on days without a weekly slot (#111). - Bedtime switch now actually reaches the child device (rc2) - Same pattern applied to bedtime (#113).
switch.<child>_bedtimeandenable_bedtime/disable_bedtimenow send both calls the web app emits when the user confirms "Apply changes to today as well?": (1) flip the weekly policy, (2) post a per-day override with today's bedtime hours. - Bedtime and school time switches reflect the effective today state (rc2) -
is_onnow reads fromappliedTimeLimits(weekly policy + daily overrides combined), so the switch no longer snaps back to the weekly value after a "today only" toggle (#114). - Bedtime override now uses today's actual schedule instead of hardcoded 21:30–07:00 (rc3, this release) - The CAEQ/CAMQ schedule parsers read start/end from the wrong array indices:
item[2](stateFlag) was mistaken for start time, causingisinstance(list)to fail and both values to fall through to the hardcoded defaults. Fixed to readitem[3](start) anditem[4](end), matching the protobuf layout (#113).
Documentation
GOOGLE_FAMILY_LINK_API_ANALYSIS.md- added "School time daily override pattern" and "Bedtime daily override pattern" sections documenting the reverse-engineered payloads.
Upgrade
Install via HACS (enable "Show beta versions"), restart Home Assistant. Toggle switch.<child>_bedtime during an active bedtime slot - the "Only tonight" hours in the Family Link app should now match your configured schedule.
Full Changelog: v1.2.7-rc2...v1.2.7-rc3