mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-06-06 10:16:49 +00:00
Minor changes
This commit is contained in:
parent
b6610e76d5
commit
bccd6d460d
@ -13,10 +13,12 @@ ha_iot_class: "Local Polling"
|
|||||||
ha_release: 0.22
|
ha_release: 0.22
|
||||||
---
|
---
|
||||||
|
|
||||||
The `Local File ` allows you to integrate any readable image file from disk into Home Assistant as a Camera.
|
The `local_file` camera platform allows you to integrate any readable image file from disk into Home Assistant as a camera. If the image is updated on the file system the image displayed in Home Assistant will also be updated.
|
||||||
If the image is updated in the file system the image displayed in Home Assistant will also be updated.
|
|
||||||
This can for example be used with various camera platforms that save a temporary images localy.
|
This can for example be used with various camera platforms that save a temporary images localy.
|
||||||
|
|
||||||
|
To enable this camera in your installation, add the following to your `configuration.yaml` file:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
camera:
|
camera:
|
||||||
@ -27,7 +29,10 @@ camera:
|
|||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
|
||||||
- **name** (optional): Name of the camera
|
- **name** (*Optional*): Name of the camera
|
||||||
- **file_path** (required): File to serve as the camera.
|
- **file_path** (*Required*): File to serve as the camera.
|
||||||
|
|
||||||
|
<p class='note'>
|
||||||
|
The given `file_path` must be an existing file because the camera platform setup make a readable check on it.
|
||||||
|
</p>
|
||||||
|
|
||||||
The given **file_path** must be an existing file because the camera platform setup make a readable check on it.
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user