Unable to get camera entity from image

Dag iedereen,

Ik probeer een camera entiteit te creren van een afbeelding.
Dit is mijn config

camera:
  - platform: generic
    name: test
    still_image_url: https://192.168.123.170:8123/local/snap.jpg

If I type the url in the browser I see the image! What am I doing wrong here, I don’t get a camera entity!!

Thanks for every response

I think you need to set allowlist_external_urls for that to work:

Edit: might also be yaml config is no longer allowed. I see you can set cameras up in the gui, no mention there anymore of the yaml setup:

Thanks for your reply. I’ll give this a try if I can figure out how this works!?

I use the local file option for generic camera to display an image. I also do not use the full address, just the path.

camera:
  # current song image
  - platform: local_file
    file_path: /media/youtube/current.jpg
    name: "Now playing"

OK, I’ll get a camera. Thank you.