Choose who can control Microsoft Family Safety from Home Assistant.
Added
- Users allowed to control Microsoft Family Safety (new option, #66). Home Assistant lets every user press any button or flip any switch, so a child with a Home Assistant account could lift their own limits from the integration's entities. When you tick users in this option, only they and the administrators can use the integration's buttons, switches, daily limits and time windows, and its
microsoft_family_safety.*actions; anyone else is refused, with a warning in the log.- Empty by default: nothing changes until you tick someone.
- Automations and scripts started by Home Assistant itself are never affected.
- Give the child a non-administrator account: an administrator can change the option, so it would bypass it. The child still sees the entities but cannot use them.
- Changing the option takes effect immediately, without reloading the integration.
Same feature as in the Google Family Link integration.
Under the hood
- First automated tests of the repository, run on every pull request.