Ubiquiti App

Hello
Id would be great if the Ubiquiti App would support “if s specifc device on a specifc access point”.
This would be great to set a “night” Status.

if my and my wifes phone connect to the access point near the bedroom power off the lights in the living room.

thanks and have a great day, xooops