Switch off a device via the device_tracker after an adjustable time

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

State is:
sensor.smartphone_kid
smartphone_kid

event is:
2.1

This I have tried, it was also not working. I had never seen, that inet access was not working

And have your kid been navigating on Internet for more than 2 hours today?

Yes, If they use internet longer than 2h inet connection will not be switched off

Hello,
I made a mistake, I had a typo error. With the correct entity it works now. I am sorry and thank you

Next point is to add more than one device to one kid, like smartphone and desktop PC, all together like the shared budget in the fritzbox for e.g.

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.