Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Core extensions

Device management

Which devices are you rocking? 🎸

A device in Home Assistant represents a physical device in your home but can also represent a web service, like one that provides weather information. Devices are logical grouping for entities. Spook provides you with a few actions to manage devices.

ActionsΒΆ

The following device management actions are added to your Home Assistant instance:

Disable a deviceΒΆ

This action allows you to disable a device on the fly.

Screenshot of the Home Assistant disable device action on the Tools page.

Action properties

Action

Disable a device πŸ‘»

Action name

homeassistant.disable_device

Action targets

No

Action response

No response

Spook's influence

Newly added action.

Tools

Try this action Open your Home Assistant instance and show the Actions tool with a specific action selected.

Action data parameters

Attribute

Type

Required

Default / Example

device_id

string | list of strings

Yes

dc23e666e6100f184e642a0ac345d3eb

Enable a deviceΒΆ

This action allows you to enable a device on the fly.

Screenshot of the Home Assistant enable device action on the Tools page.

Action properties

Action

Enable a device πŸ‘»

Action name

homeassistant.enable_device

Action targets

No

Action response

No response

Spook's influence

Newly added action.

Tools

Try this action Open your Home Assistant instance and show the Actions tool with a specific action selected.

Action data parameters

Attribute

Type

Required

Default / Example

device_id

string | list of strings

Yes

dc23e666e6100f184e642a0ac345d3eb

Update a deviceΒΆ

Updates an existing device in your Home Assistant instance. Anything you leave out keeps the value it already has, so you can rename a device without moving it to another area.

Only what you can change on a device in the UI is offered. Everything else, like its manufacturer or model, belongs to the integration that made the device, and it would write its own values back the next time it sets up.

Setting name_by_user to null gives the device back the name its integration gave it, and setting area_id to null takes it out of its area. The labels you give replace the ones the device has, and an empty list removes them all. Setting disabled_by to user disables the device, setting it to null enables it again, the same way the disable and enable device actions above do.

Action properties

Action

Update a device πŸ‘»

Action name

homeassistant.update_device

Action targets

No

Action response

No response

Spook's influence

Newly added action.

Tools

Try this action Open your Home Assistant instance and show the Actions tool with a specific action selected.

Action data parameters

Attribute

Type

Required

Default / Example

device_id

string

Yes

dc23e666e6100f184e642a0ac345d3eb

name_by_user

string or null

No

Living room speaker

area_id

string or null

No

living_room

labels

string | list of strings

No

["battery_powered"]

disabled_by

user or null

No

user

Blueprints & tutorialsΒΆ

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

Feature requests, ideas, and supportΒΆ

If you have an idea on how to further enhance this, for example, by adding a new service, 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 page on where to go for help.