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

Action

Zone: Create a zone πŸ‘»

Action name

zone.create

Action targets

No targets

Action response

No response

Spook's influence

Newly added action

Developer tools

Try this action Open your Home Assistant instance and show your actions developer tools with a specific action selected.

Action data parameters

Attribute

Type

Required

Default / Example

name

string

Yes

Statue of Liberty

icon

string

No

mdi:map-marker

latitude

float

Yes

40.6892494

longitude

float

Yes

-74.0445004

radius

float

No

100

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

Action

Zone: Update a zone πŸ‘»

Action name

zone.update

Action targets

No targets

Action response

No response

Spook's influence

Newly added action

Developer tools

Try this action Open your Home Assistant instance and show your actions developer tools with a specific action selected.

Action data parameters

Attribute

Type

Required

Default / Example

entity_id

string

Yes

zone.statue_of_liberty

name

string

No

Statue of Liberty

icon

string

No

mdi:map-marker

latitude

float

No

40.6892494

longitude

float

No

-74.0445004

radius

float

No

100

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

Action

Zone: Delete a zone πŸ‘»

Action name

zone.delete

Action targets

No targets

Action response

No response

Spook's influence

Newly added action

Developer tools

Try this action Open your Home Assistant instance and show your actions developer tools with a specific action selected.

Action data parameters

Attribute

Type

Required

Default / Example

entity_id

string | list of strings

Yes

zone.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:

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.