Stream Component error in camera.record and camera.play_stream services

I have 3 cameras setup. They work flawlessly in the interface. Streaming works. No issues.

I try to interact with the cameras in services.
1- camera.snapshot works. No problem
2- camera.play_stream does not work
3- camera.record does not work

All three cameras are streaming flawlessly on the interface.

The error I get is:

camera.play_stream
error: Failed to call service camera/play_stream. Stream component is not set up.

camera.record
error: Failed to call service camera/record. Service not found.

I have done the obvious.

Added stream: to my configuration.yaml file.

Camera streams are defined in their definitions, and streams are working just fine within lovelace.

I have just noticed an invalid config error in my notifications panel. I have no idea how to fix this.
06%20PM

1 Like

Hi…

Did you get your problem resolved…??
If so, could you share the info. how you made it work. I’m in the same boat as you were.

Thanks

Yes. But now I have a bigger problem. Please see following thread:

Can you please share the code you have for the stream?