Automation to turn on and off switches on Adguard Home

Yes, I found solution from Gieljnssns thread