Control Sonoff based on the clock time

Hi,
I’m interested in control a Sonoff Mini switch from the dashboard with a card where I can configure the hours that it changes states. It should be something the ewelink app, where there is the possibility to schedule actions. Do you know if there is any possibility? I have searched but I cannot find a solution… I’m just starting with Hassio…Thanks!