Core extensions

Devices & entities

Spook adds a Home Assistant device with buttons to reload and restart, and sensors that count your entities, helpers, automations, devices, integrations and more.

Besides all the new actions for Home Assistant itself, Spook adds a device with entities that are all about Home Assistant. It turns Home Assistant into an integration of its own: buttons to reload and restart it, and sensors that count what is in your setup.

To find them, go to Settings > Devices & services, select Spook, and open the device called Home Assistant.

A new device that provides control over your Home Assistant itself.
Spook added devices and entities for Home Assistant itself.

Devices & entities

Spook adds one device, called Home Assistant, with the entities below. You use them like any other entity: on a dashboard, in an automation, or in a template.

Buttons

Two buttons for the things you otherwise dig through menus for. Put them on an admin dashboard, and reloading or restarting is one tap away. On the device page, you find them under Configuration.

Reload Home Assistant

Default entity ID: button.homeassistant_reload

Reloads all of your YAML configuration that Home Assistant can reload without a restart, with a single press. It runs Home Assistant's own Reload all action. Handy right after you changed a YAML file.

Restart Home Assistant

Default entity ID: button.homeassistant_restart

Restarts Home Assistant with a single press. This is the normal, careful restart: Home Assistant checks your configuration first, and refuses to restart when it is broken. Need more force? That is the Restart action.

Sensors

Counters, lots of them. How many lights do you have? How many automations? Did that integration you just removed really take its entities with it? These sensors tell you. They keep history too, so you can watch your setup grow over time. They are diagnostic entities, so you find them under Diagnostic on the device page, and add the ones you care about to a dashboard yourself.

Total number of entities

Default entity ID: sensor.entities

The total number of entities in your system (including this one).

Total number of entities per entity type

For each type of entity, like lights or sensors, a sensor counts how many of that type you have. Good for a quick "how many lights do I have" on a dashboard.

Total number of helpers per type

For each kind of helper with its own entity type, like toggles and counters, a sensor counts how many you have.

Other counters

But wait, there are more counters! Areas, automations, devices, integrations and more each get a sensor too.

Blueprints & tutorials

There are no known blueprints or tutorials for these entities yet. Made one, or found one? Let us know in our discussion forums.

Feature requests, ideas, and support

Got an idea to take this further, like a new action, entity or repair? Let us know in our discussion forums.

Stuck, or found a bug? The Support page tells you where to go for help.