mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +00:00
Update configuration variables style (#7284)
Use the new style for configuration variables as described in #6385 for sensor.crimereports.markdown
This commit is contained in:
parent
56d48657f8
commit
f036b3b904
@ -26,14 +26,32 @@ sensor:
|
||||
radius: <your radius>
|
||||
```
|
||||
|
||||
Configuration options for the Crime Reports Sensor:
|
||||
|
||||
- **name** (*Required*): Name the sensor whatever you want.
|
||||
- **radius** (*Required*): Radius in meters.
|
||||
- **latitude** (*Optional*): Defaults to your home zone latitude.
|
||||
- **longitude** (*Optional*): Defaults to your home zone longitude.
|
||||
- **include** (*Optional*): List of incident types to include.
|
||||
- **exclude** (*Optional*): List of incident types to exclude.
|
||||
{% configuration %}
|
||||
name:
|
||||
description: Custom name for the sensor.
|
||||
required: true
|
||||
type: string
|
||||
radius:
|
||||
description: Radius in meters
|
||||
required: true
|
||||
type: float
|
||||
latitude:
|
||||
description: Latitude for sensor.
|
||||
required: false
|
||||
default: Your home zone latitude defined in your configuration.
|
||||
longitude:
|
||||
description: Longitude for sensor.
|
||||
required: false
|
||||
default: Your home zone longitude defined in your configuration.
|
||||
include:
|
||||
description: List of incident types to include. See below for a list of valid incidents.
|
||||
required: false
|
||||
type: list
|
||||
exclude:
|
||||
description: List of incident types to exclude. See below for a list of valid incidents.
|
||||
required: false
|
||||
type: list
|
||||
{% endconfiguration %}
|
||||
|
||||
|
||||
## {% linkable_title Notes %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user