Skip to content

Commit 9fe09af

Browse files
authored
Update Configuration Variables section
1 parent 8efc72f commit 9fe09af

File tree

1 file changed

+30
-10
lines changed

1 file changed

+30
-10
lines changed

source/_components/image_processing.openalpr_local.markdown

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ Verify your `alpr` installation with:
3939
$ wget -O- -q http://plates.openalpr.com/h786poj.jpg | alpr -
4040
```
4141

42-
### {% linkable_title Configuration Home Assistant %}
43-
42+
### {% linkable_title Configuration %}
4443

4544
```yaml
4645
# Example configuration.yaml entry
@@ -50,12 +49,33 @@ image_processing:
5049
source:
5150
- entity_id: camera.garage
5251
```
53-
Configuration variables:
54-
55-
- **region** (*Required*): Country or region. List of supported [values](https://github.com/openalpr/openalpr/tree/master/runtime_data/config).
56-
- **alpr_bin** (*Optional*): The command line tool alpr from OpenALPR software for local processing. Defaults to `alpr`.
57-
- **confidence** (*Optional*): The minimum of confidence in percent to process with Home Assistant. Defaults to 80.
58-
- **source** array (*Required*): List of image sources.
59-
- **entities** (*Required*): A list of devices to add in Home Assistant.
60-
- **name** (*Optional*): This parameter allows you to override the name of your OpenALPR entity.
6152
53+
{% configuration %}
54+
region:
55+
description: Country or region. List of supported [values](https://github.com/openalpr/openalpr/tree/master/runtime_data/config).
56+
required: true
57+
type: string
58+
alpr_bin:
59+
description: The command line tool alpr from OpenALPR software for local processing.
60+
required: false
61+
type: string
62+
default: `alpr`
63+
confidence:
64+
description: The minimum of confidence in percent to process with Home Assistant.
65+
required: false
66+
type: int
67+
default: 80
68+
source:
69+
description: List of image sources.
70+
required: true
71+
type: list
72+
keys:
73+
entity_id:
74+
description: A camera entity id to get picture from.
75+
required: true
76+
type: string
77+
name:
78+
description: This parameter allows you to override the name of your OpenALPR entity.
79+
required: false
80+
type: string
81+
{% endconfiguration %}

0 commit comments

Comments
 (0)