diff --git a/source/_integrations/local_file.markdown b/source/_integrations/local_file.markdown index 16cd8394fd2..ccd1adcbac8 100644 --- a/source/_integrations/local_file.markdown +++ b/source/_integrations/local_file.markdown @@ -6,6 +6,7 @@ ha_category: ha_iot_class: Local Polling ha_release: 0.22 ha_domain: local_file +ha_config_flow: true ha_platforms: - camera ha_integration_type: integration @@ -18,28 +19,11 @@ The **Local file** camera {% term integration %} allows you to integrate an imag The `local_file` camera can for example be used with various camera platforms that save a temporary images locally. It can also be used to display a graph that you render periodically and will then be displayed in Home Assistant. -## Configuration +{% note %} +The file path must be added to [allowlist_external_dirs](/integrations/homeassistant/#allowlist_external_dirs) for the integration to be able to read it. +{% endnote %} -To enable this camera in your installation, add the following to your {% term "`configuration.yaml`" %} file. -{% include integrations/restart_ha_after_config_inclusion.md %} - -```yaml -# Example configuration.yaml entry -camera: - - platform: local_file - file_path: /tmp/image.jpg -``` - -{% configuration %} -file_path: - description: "File to serve as the camera. Use a full path, e.g., `/config/www/images/image.jpg `." - required: true - type: string -name: - description: Name of the camera. - required: false - type: string -{% endconfiguration %} +{% include integrations/config_flow.md %} ### Action `local_file.update_file_path`