Automation to turn on and off switches on Adguard Home

I am using Adguard home to block ads and manunally block access to some Social Networks like youtube, facebook…via quick built-in filters on Adguard Home.
However, to make it more convenient, can somebody have solutions to make automation to switch these switches on and off according to specific time???

Thank you

Did you work this out in the end?

If so how?

Yes, I found solution from Gieljnssns thread