Daughter leaving and bedroom

New here, trying to figure this out, but i have a few automations i cant quite figure out. The first one is to shut off my daughters room when she leaves with her cell phone.

The second one is i have a tp link smart light switch i wired up, two night stand smart lights and a cieling fan light. My problem im having is trying to get the switch to turn the night stand lights full bright white when turned on, and when turned back off they go back to a night light which is just dim

It may be best to split your questions as these are two very different things although both related to automation setup.

How are you tracking the phone to a level a accuracy that you know it is outside of her room? you may do better with a room occupancy sensor versus phone location. I’ve only been able to determine if someone is home based on phones not in which room they are in the house.

To clarity, the switch is that just an “On” / “Off” switch, do you have an automation associated with the switch in HA? Can you trigger the lights in some way from the switch today, does any of it work or are you looking for advice to build the automation from scratch?

I figured out the second one playing with the settings. Im trying to use the phone its self for when she leaves the house mainly

If she has the HA app installed on her phone, then it’s as simple as:

description: ""
mode: single
triggers:
  - trigger: state
    entity_id:
      - person.your_daughter
    from: home
    to: not_home
    for:
      hours: 0
      minutes: 5
      seconds: 0
conditions: []
actions:
  - action: homeassistant.turn_off
    target:
      entity_id: whatever
    data: {}

Note I had to use homeassistant.turn_off since I do not know what you mean by

If these are purely lights, then you can use the light.turn_off action. Otherwise, I suggest you use a consistent label for each of her entities and use that as the target.

All of this is available in the UI and it took me less than a minute to construct the automation

I realize that quite a few people have their phone surgically implanted into their bodies, but is phone presence really good enough for an automation?

After all, phones run out of battery, may be on the charger for an hour or be left behind for bathroom breaks, taking lunch, etc.

It is, in this context. Op’s requirement is only to detect is their daughter is home or away.