Ability to turn on/off phone light from the app


I was wondering if it was possible to add to the app the ability to turn the phone light on/off from hass. Sometimes I use my phone light to get to my room and want to keep the light on for couple minutes and want it to turn off afterwards. Having it available from hass allows me to make an automation to turn it off couple minutes later, or even use my google home to send the command to turn off the light.

Other uses can be to use it on an automation as an additional notification method for some critical stuff like home alarm, etc.