github noiwid/HAFamilySafety v2.2.0
2.2.0

45 minutes ago

Dashboard cards, served by the integration

No Marketplace card and no resource to add: open a dashboard, Add card, and search for "Family Safety" or "Screen time". See Dashboard cards.

Dashboard

  • custom:familysafety-card: one card per child. Live header (allowed now, time left, downtime), lock, Windows, Xbox and web tiles, the pending request with Approve and Deny, apps (today, installed, limited, blocked), websites with your allowed and blocked lists, and the weekly limits. Every line opens a sheet whose Save calls the integration's services: app limit, pause or block, add a website, web filter, age rating, ask to buy, lock for a set time, Xbox extra time, daily limit and allowed hours, the limits switches and sign in again. Visual editor: pick the child, a title, the language and which sections to show.
  • custom:parental-screen-time-card and custom:parental-screen-time-history-card, shared with Google Family Link for Home Assistant: today's time of a child's PC, Xbox and phones in one card, with limits, time left, locks and an hourly chart, and one bar per day for the last days. Choose the PC or the Xbox, not the child's own device, whose time is their total.

New

  • Allowed now, time remaining and downtime sensors for Windows and Xbox (#75).
  • Xbox: daily limit and allowed hours through the screen-time services (#82), extra time with add_time_bonus / cancel_time_bonus (#78), the Xbox Family Settings link captured through the sign-in proxy (#80).
  • Apps: pause_app / resume_app pause Windows and Xbox apps and put their limits back (#81). The Applications sensor gives each app's limit for today (limit_minutes, limit_start, limit_end, limit_enabled).
  • Websites: get_sites reads the allowed and blocked lists, a Web Filtering switch, several sites per call (#83). Websites Visited lists blocked attempts by URL in blocked_sites (#65).
  • Services take the child by entity_id or device_id as well as account_id (#74).
  • Diagnostics with credentials and personal data removed (#73).

Changed

  • Windows lock on Microsoft's v4 device-limits overrides, confirmed by reading it back (#76).
  • Family web session: kept warm and reported only while the Xbox features depend on it (#68).
  • The mobile API client uses Home Assistant's shared HTTP session (#72).

Fixed

  • Blocking or unblocking a Windows or Xbox app no longer wipes its time limit. Mobile apps still use the plain block and unblock.
  • Small fixes to screen-time sensor attributes and app names on block/unblock (#71, #84).
  • Websites Visited dates carry an explicit UTC offset (#65).

Thanks to @theSiegs for most of this release, to @erasmus83 for #68, and to @Edenglish92 for the reports on #65.

Don't miss a new HAFamilySafety release

NewReleases is sending notifications on new releases.