Raspberry Pi Camera Issues

Hi ,

I am having issues using the raspberry pi camera integration in HA . I followed the integrations documentation and added below in config file but nothing is displayed in HA

  - platform: rpi_camera
  - platform: local_file
    file_path: /config/tmp/test.jpg

I hooked the camera to the same raspberry pi where HA is running .