Skip to article frontmatterSkip to article content
Core extensions

Entity management

Everything is an entity, and entities are everything 🪄

Entities in Home Assistant are the building blocks of your home automation. Spook enhances the core of Home Assistant by adding services to control those entities programmatically.

Services

The following entity management services are added to your Home Assistant instance:

Disable an entity

This service allows you to disable an entity on the fly.

Screenshot of the Home Assistant disable entity service call in the developer tools.
Service properties
ServiceDisable an entity 👻
Service namehomeassistant.disable_entity
Service targetsNo
Service responseNo response
Spook's influenceNewly added service.
Developer toolsTry this service Open your Home Assistant instance and show your service developer tools with a specific service selected.
Service call data
AttributeTypeRequiredDefault / Example
entity_idstring | list of stringsYes"light.living_room"

Enable an entity

This service allows you to enable an entity on the fly.

Screenshot of the Home Assistant enable entity service call in the developer tools.
Service properties
ServiceEnable an entity 👻
Service namehomeassistant.enable_entity
Service targetsNo
Service responseNo response
Spook's influenceNewly added service.
Developer toolsTry this service Open your Home Assistant instance and show your service developer tools with a specific service selected.
Service call data
AttributeTypeRequiredDefault / Example
entity_idstring | list of stringsYes"light.living_room"

Hide an entity

This service allows you to hide an entity on the fly.

It can be particularly useful when you have a lot of entities, and you want to hide some of them from the generated UI based programmatically. Hidden entities are also not exposed to external voice assistants, like Google Assistant or Alexa.

Screenshot of the Home Assistant hide entity service call in the developer tools.
Service properties
ServiceHide an entity 👻
Service namehomeassistant.hide_entity
Service targetsNo
Service responseNo response
Spook's influenceNewly added service.
Developer toolsTry this service Open your Home Assistant instance and show your service developer tools with a specific service selected.
Service call data
AttributeTypeRequiredDefault / Example
entity_idstring | list of stringsYes"light.living_room"

Unhide an entity

This service allows you to unhide an entity on the fly.

Screenshot of the Home Assistant unhide entity service call in the developer tools.
Service properties
ServiceUnide an entity 👻
Service namehomeassistant.unhide_entity
Service targetsNo
Service responseNo response
Spook's influenceNewly added service.
Developer toolsTry this service Open your Home Assistant instance and show your service developer tools with a specific service selected.
Service call data
AttributeTypeRequiredDefault / Example
entity_idstring | list of stringsYes"light.living_room"

Update an entity’s ID

This service allows you to update an entity’s ID on the fly.

Screenshot of the Home Assistant update entity ID service call in the developer tools.
Service properties
ServiceUpdate an entity’s ID 👻
Service namehomeassistant.update_entity_id
Service targetsNo
Service responseNo response
Spook's influenceNewly added service.
Developer toolsTry this service Open your Home Assistant instance and show your service developer tools with a specific service selected.
Service call data
AttributeTypeRequiredDefault / Example
entity_idstringYes"light.living_room"
new_entity_idstringYes"light.dining_room"

Delete all orphaned entities

Mass clean up your Home Assistant by deleting all orphaned entities in one go.

Orphaned entities are entities that are no longer claimed by an integration. This can happen when an integration is removed or when an integration is no longer working. Home Assistant considers an entity only orphaned if it has been unclaimed since the last restart of Home Assistant.

Screenshot of the Home Assistant unhide entity service call in the developer tools.
Service properties
ServiceDelete all orphaned entities 👻
Service namehomeassistant.delete_all_orphaned_entities
Service targetsNo
Service responseNo response
Spook's influenceNewly added service.
Developer toolsTry this service Open your Home Assistant instance and show your service developer tools with a specific service selected.

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.

Features 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.