Instructions on adding Zones via GUI (#14448)

Added instructions on managing Zones through the user interface. Also changed an example icon from `mdi:worker` which no longer exists to `mdi:briefcase` .
This commit is contained in:
Sean Mooney 2020-09-10 03:24:56 -04:00 committed by GitHub
parent 730ed9c922
commit 0351198959
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,9 @@ ha_domain: zone
Zones allow you to specify certain regions on earth (for now). When a device tracker sees a device to be within a zone, the state will take the name from the zone. Zones can also be used as a [trigger](/getting-started/automation-trigger/#zone-trigger) or [condition](/getting-started/automation-condition/#zone-condition) inside automation setups. Zones allow you to specify certain regions on earth (for now). When a device tracker sees a device to be within a zone, the state will take the name from the zone. Zones can also be used as a [trigger](/getting-started/automation-trigger/#zone-trigger) or [condition](/getting-started/automation-condition/#zone-condition) inside automation setups.
The `zone` integration uses YAML sequences to configure multiple zones: Zones can be added and managed through the user interface at **Configuration -> Zones**.
Zones can also be configured via `configuration.yaml`:
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
@ -78,7 +80,7 @@ Devices that are in the zone **'Home'** will not appear on the map in the Home A
## Icons ## Icons
It is preferred to pick an icon to use for your zone. Pick any icon that you can find on [materialdesignicons.com](https://materialdesignicons.com/) and prefix the name with `mdi:`. For example `mdi:school`, `mdi:worker`, `mdi:home`, `mdi:cart`, or `mdi:castle`. It is preferred to pick an icon to use for your zone. Pick any icon that you can find on [materialdesignicons.com](https://materialdesignicons.com/) and prefix the name with `mdi:`. For example `mdi:school`, `mdi:briefcase`, `mdi:home`, `mdi:cart`, or `mdi:castle`.
## State ## State