The child's Chrome web filter can be switched from Home Assistant, and a day's school time can be switched off and on again.
Added
- Chrome web filter mode:
set_filter_levelservice andselect.<child>_web_filter(#211, #220). The "Filters" choice of "Google Chrome and Web" switches between the approved sites only (approved_only, the allow list) and every site with Google's explicit-content filter (filtered), so an automation can open the web during school time and go back to the allow list after. One POST tosettingResources:performAction, captured by @Me-xx on the web app; the lists are read back at once and the service raises if Google reads back another mode. Asked by @Me-xx. set_school_timeswitches a day's school time on or off (enabled) (#219).enabled: falseunchecks the day in the weekly schedule as the Family Link app does, keeping its hours;enabled: truechecks it again.
# Open the web during school time, back to the allow list after
action: familylink.set_filter_level
data:
entity_id: sensor.alex_daily_screen_time
filter_level: "{{ 'filtered' if is_state('binary_sensor.alex_phone_school_time_active', 'on') else 'approved_only' }}"