@QuantumG
I was able to get this working by using SmartThings.
Set up SmartThings with our Kasa app shown here: https://www.tp-link.com/us/support/faq/2556/
You then need to "SmartApps" which has the program to have the plug turn off whenever it is on during a specific time. While having SmartThings opened tap on the top left menu, then select "SmartApps". Hit the "+" symbol, go down to "Smart Lighting", choose "New Lighting Automation", from there choose the plug. I then made the following settings (image to right is a continuation of the left image):
![](https://static-community.tp-link.com/other/18/1/2021/4651e08e98844a57989932dff95fd2a7.jpg)
In the section of "Only during certain times" you can specify either sunrise/sunset or specific times. In the option section for "Only on certain days..." you can set which days you want the automation to kick in.
It takes some fiddling, but should work.