Yi Camera any automation?

Does anyone have working automations setup for the Yi Camera platform. I would like to be able to turn off the camera when I am home and turn it back on when I am away. I have similar automations setup using my Ring for motion alerts… Thanks!