Integrations

Fan

Spook adds actions that turn a fan in Home Assistant on or off for a while, and back when the time is up, also across a restart.

The fan integration is how Home Assistant controls ceiling fans, bathroom fans and air purifiers.

Home Assistant can turn a fan on or off, but not for a while. Spook adds that, with a time that survives a restart.

Actions

Spook adds two actions for fans. You find them wherever you add an action, marked with a 👻.

Turn on for

Turns fans on for a while, and turns them back off when the time is up. Spook stores when each one is due back, so a restart of Home Assistant in between does not stop that.

It is Turn on for, with the same rules, for fans only. Named outright, anything that is not a fan is refused with an error. Picked up through an area, a device, a floor, a label or a group, it is passed over.

How to use it

  1. Open the automation or script that should do this, and select Add action.
  2. Search for turn on for, and select Fan: Turn on for 👻.
  3. Under Targets, choose the fans, or a whole area.
  4. Set Duration to how long they should stay on, like 00:15:00 for fifteen minutes.
  5. Select Save.

Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.

Turn off for

Turns fans off for a while, and turns them back on when the time is up. Spook stores when each one is due back, so a restart of Home Assistant in between does not stop that.

It is Turn off for, with the same rules, for fans only. Named outright, anything that is not a fan is refused with an error. Picked up through an area, a device, a floor, a label or a group, it is passed over.

How to use it

  1. Open the automation or script that should do this, and select Add action.
  2. Search for turn off for, and select Fan: Turn off for 👻.
  3. Under Targets, choose the fans, or a whole area.
  4. Set Duration to how long they should stay off, like 00:30:00 for half an hour.
  5. Select Save.

Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.

Missing something here?

An action, an entity or a repair this integration should have? Say so. Stuck, or found a bug? There is help.