As you have your sensor in hours, than this is probably more what it should be:
description: ""
mode: single
trigger:
- id: Turn off
platform: numeric_state
entity_id: sensor.smartphone_kid1
above: 0.17 # This is a bit more than 10min
- id: Turn on
platform: state
entity_id:
- switch.smartphone_kid1
to: "off"
for:
hours: 8 # 8 hours after the internet was disabled for that device
condition: []
action:
- choose:
- conditions:
- condition: trigger
id: Turn off
sequence:
- service: switch.turn_off
data: {}
target:
entity_id: switch.smartphone_kid1_internet_access
- conditions:
- condition: trigger
id: Turn on
sequence:
- service: switch.turn_on
data: {}
target:
entity_id: switch.smartphone_kid1_internet_access
If you want to follow all the devices of a specific kid, you can just change your stats sensor from device_tracker.kid1smartphone to person.your_kid_1.
If you want just some of the devices, then you probably will need a stats sensor per device and then another template sensor with a sum of all devices of a kid.