Skip to article frontmatterSkip to article content
Enhanced integrations

Zone

Time to zone out and relax πŸ“

The Home Assistant zone icon



A zone in Home Assistant is a virtual representation of a physical space. Think of it as drawing a circle on a map; that circle represents a zone. Zones are used to track the location of people and devices but can also be used to trigger automations based on entering or leaving a zone.

Spook adds new actions to the zone integrations that allow you to manage and modify them using automations dynamically.

Screenshot of the recorder import statistics action in the developer tools.

FigureΒ 1:Spook adds an action that allows importing data into the recorder.

Devices & entitiesΒΆ

Spook does not provide any new devices or entities for this integration.

ActionsΒΆ

Spook adds the following new actions to your Home Assistant instance:

Create a zoneΒΆ

Adds a new zone to your Home Assistant instance.

Screenshot of the zone create action in the developer tools.
Action properties
ActionZone: Create a zone πŸ‘»
Action namezone.create
Action targetsNo targets
Action responseNo response
Spook's influenceNewly added action
Developer toolsTry this action Open your Home Assistant instance and show your actions developer tools with a specific action selected.
Action data parameters
AttributeTypeRequiredDefault / Example
namestringYesStatue of Liberty
iconstringNomdi:map-marker
latitudefloatYes40.6892494
longitudefloatYes-74.0445004
radiusfloatNo100

The radius attribute must be entered in meters.

Update a zoneΒΆ

Updates properties of an existing zone.

Screenshot of the zone update action in the developer tools.
Action properties
ActionZone: Update a zone πŸ‘»
Action namezone.update
Action targetsNo targets
Action responseNo response
Spook's influenceNewly added action
Developer toolsTry this action Open your Home Assistant instance and show your actions developer tools with a specific action selected.
Action data parameters
AttributeTypeRequiredDefault / Example
entity_idstringYeszone.statue_of_liberty
namestringNoStatue of Liberty
iconstringNomdi:map-marker
latitudefloatNo40.6892494
longitudefloatNo-74.0445004
radiusfloatNo100

The radius attribute must be entered in meters. Only the parameters that are provided will be updated. Other parameters will remain unchanged.

Delete a zoneΒΆ

Deletes a zone from Home Assistant

Screenshot of the zone delete action in the developer tools.
Action properties
ActionZone: Delete a zone πŸ‘»
Action namezone.delete
Action targetsNo targets
Action responseNo response
Spook's influenceNewly added action
Developer toolsTry this action Open your Home Assistant instance and show your actions developer tools with a specific action selected.
Action data parameters
AttributeTypeRequiredDefault / Example
entity_idstring | list of stringsYeszone.statue_of_liberty

RepairsΒΆ

Spook has no repair detections for this integration.

Uses casesΒΆ

Some use cases for the enhancements Spook provides for this integration:

  • You could use these action to dynamically create and update zones around a car or a person using automations. Using these you could tell who is close to the car or notify if you are near a certain person.

Blueprints & tutorialsΒΆ

There are currently no known blueprints or tutorials for the enhancements Spook provides for this integration. If you created one or stumbled upon one, please let us know in our discussion forums.

Features requests, ideas, and supportΒΆ

If you have an idea on how to further enhance this integration, for example, by adding a new action, entity, or repairs detection; feel free to let us know in our discussion forums.

Are you stuck using these new features? Or maybe you’ve run into a bug? Please check the Support page on where to go for help.