Set the state of a camera to recording

What’s the best way to push the state of a camera entity to recording using the API?

I’ve tried curl -X POST -H 'x-ha-access: welcome' -H "Content-Type: application/json" -d '{"state": "recording"}'

But that clears all the attributes of the camera entity.


It depends on specific camera platform. A service will be provided if such operation was supported.

Thanks @awarecan - I’m using the uvc platform which doesn’t appear to provide the service.

Do you know which platform does provide the service or what I’d need to do to add it to uvc?