“Power Allowance” Is an automation that you create in the official “ smartlighting” feature. You pick the device that you want to turn off and then you can set a fixed period of time like 15 minutes or three minutes or anything down to one minute. After that, every single time that you turn that device on it will turn itself off after that amount of time.
Start by choosing the three line menu in the upper left of the beginning screen.
Choose Smartapps.
Choose smartlighting.
Choose new smart lighting automation.
Choose your virtual switch.
Choose “turn off.“
Then for “trigger” go all the way down to the bottom of the selections and choose “power allowance.“ Then you’ll be able to set the number of minutes.
This will be the end result: