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.
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.
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 |
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.
1 2 3 4 5 6 7
action: zone.create data: name: "Statue of Liberty" icon: mdi:human-female-dance latitude: 40.6892494 longitude: -74.0445004 radius: 250
Update a zoneΒΆ
Updates properties of an existing zone.
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 |
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.
1 2 3 4 5
action: zone.update data: entity_id: zone.statue_of_liberty name: "Statue of Liberty, New York" radius: 250
Delete a zoneΒΆ
Deletes a zone from Home Assistant
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 |
Action data parameters | |||
---|---|---|---|
Attribute | Type | Required | Default / Example |
entity_id | string | list of strings | Yes | zone.statue_of_liberty |
1 2 3
action: zone.delete data: entity_id: zone.statue_of_liberty
Or delete multiple at ones:
1 2 3 4 5
action: zone.delete data: entity_id: - zone.central_park - 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:
- 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.