Skip to content

v1.2.7-rc3 - Bedtime & school time "today" controls

Pre-release
Pre-release

Choose a tag to compare

@noiwid noiwid released this 28 May 09:16

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_time and enable_school_time / disable_school_time now post a daily override via timeLimitOverrides: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 previous timeLimit: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>_bedtime and enable_bedtime / disable_bedtime now 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_on now reads from appliedTimeLimits (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, causing isinstance(list) to fail and both values to fall through to the hardcoded defaults. Fixed to read item[3] (start) and item[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