github noiwid/HAFamilyLink v2.0.1

9 hours ago

Two small strict mode fixes, both about corrective actions firing when nothing needed correcting. Update through HACS, nothing to change in your configuration.

Fixed

  • A bonus given from Home Assistant was fought at every refresh on a device locked from Home Assistant. Posting a bonus lifts Google's lock override, so the device looked unlocked while the lock decision of the day still stood. Strict mode relocked it every 90 seconds, with no effect while the bonus was running, and fired a "device locked again" event each time. A bonus given from Home Assistant now suspends the relock for as long as it lasts, and the lock comes back once it is over.
  • The daily limit looked switched off for one refresh after a lock or unlock from Home Assistant. During the five seconds where the lock state is provisional, the refresh skipped the copy of the device time data, so the daily limit read as off for that poll. The switch blinked, and with strict mode on you got a "daily limit switched off on Google's side" correction after every lock or unlock done from Home Assistant, re-enabling a limit nobody had touched. The time data is now copied whatever the lock state.

Both checked on a live account: a 15 minute bonus given during bedtime unlocks the phone for exactly that time, no corrective action, no event, and the lock comes back on its own when the bonus expires.

Don't miss a new HAFamilyLink release

NewReleases is sending notifications on new releases.