Homekit Infused 5
Content
Addons > Map
This addon gives your view a map that you can use with your own defined entities.
You can use any of the following options to modify your addon.
Stack and Addon Config
Name | Required | Default | Description |
---|---|---|---|
title | no | undefined | Set the title of the stack, ommitting this line will or setting title: hide will hide the title |
default_zoom | no | default | Sets the default zoom, around 15 is probably what you will want for your setup |
aspect_ratio | no | none | Sets an aspect ratio for your map |
view_layout | no | undefined | This is best used in conjunction with the layout addon, but can also be used to control whether to show this stack on different screen sizes. |
dark_mode | no | false | Whether to use a dark or light map |
conditional | no | false | Setting this to true will make the stack condtional |
conditions | no | undefined | Add entities and conditions, this will determine when this addon will be shown, e.g. if entity x is turned on , then show this addon (see addons for examples |
entities | yes | array | Add the entities you want in your stack, entities must be listed as an array |
# views.yaml (example)
my_view:
addons:
map:
- title: Location Stephanie
default_zoom: 15
aspect_ratio: 16x10
entities:
- person.stephanie
# views.yaml (example with multiple maps)
my_view:
addons:
map:
- title: Location Stephanie
entities:
- person.stephanie
- title: Location Jimmy
entities:
- person.jimmy
# views.yaml (example with multiple entities on single map)
my_view:
addons:
map:
- title: Location
entities:
- person.stephanie
- person.jimmy
- person.tala