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 or condition inside automation setups.
Zones support the usual method to specify multiple zones, use keys zone:
, zone 2:
etc.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|
Home zone
If no configuration is given, the zone component will create a zone for home. This zone will use
location given in the configuration.yaml
file and have a radius of 100 meters. To override this,
create a zone configuration and name it ‘Home’.
Icons
It is preferred to pick an icon to use for your zone. By default, Home Assistant includes most of the material icons. See the source for a specific list which categories are included.
For all but the action category you will need to prefix the icon name with its category. For example
social:people
or av:radio
. For the action category, you will not need to do this, examples are
home
, work,
, group-work
and shopping-cart
.