Scrypted adding camera to automation

I need some help. I have scrypted setup and i can see the cameras. How do i create automation usijg the camera?