Integrations

Climate

Spook adds actions that turn a thermostat's temperature or humidity up or down a step, step it to its next or previous mode, preset or fan speed, and put it in a mode, on or off for a while, and back when the time is up, also across a restart.

The climate integration is how Home Assistant controls thermostats, heat pumps and air conditioners.

Home Assistant can set a thermostat to a temperature, but not turn it up a step. A "one degree warmer" button has to read the setpoint (the temperature the thermostat aims for), add to it, and send it back. For a thermostat with two setpoints, nobody gets that template right on the first try. Spook adds the step, for the target humidity of a thermostat that keeps the air moist or dry as well.

Home Assistant can put a thermostat in a mode, but not for a while. Spook adds that too, with a time that survives a restart.

Home Assistant can step a select to its next option, but not a thermostat to its next preset, fan speed or mode. A remote button that goes through eco, comfort and boost has to be a template. Spook adds that step as well.

Actions

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

Increase temperature

Turns up a thermostat's setpoint a step, within the limits it reports.

Think of a "one degree warmer" button on a dashboard, or an automation that makes the bathroom a bit warmer on a cold morning. Without this, each of those is a template that reads the setpoint, adds to it and sends it back. For a thermostat that heats and cools with two setpoints, that template is where people give up. This action does the step for you.

How to use it

  1. Open the automation or script that should do this, and select Add action.
  2. Search for increase temperature, and select Climate: Increase temperature 👻.
  3. Under Targets, choose the thermostats.
  4. Leave Step empty to use the thermostat's own step, or fill in how many degrees, like 1.
  5. Select Save.

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

The Actions tool with Increase temperature 👻 picked and filled in with an example.
What Try this action opens, filled in with an example.

Decrease temperature

Turns down a thermostat's setpoint a step, within the limits it reports.

The other way round from Increase temperature: a "bit cooler" button, or an automation that turns the bedroom down a step at night. Same rules and limits, the other direction.

How to use it

  1. Open the automation or script that should do this, and select Add action.
  2. Search for decrease temperature, and select Climate: Decrease temperature 👻.
  3. Under Targets, choose the thermostats.
  4. Leave Step empty to use the thermostat's own step, or fill in how many degrees, like 1.
  5. Select Save.

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

The Actions tool with Decrease temperature 👻 picked and filled in with an example.
What Try this action opens, filled in with an example.

Increase humidity

Turns up a thermostat's target humidity a step, within the limits it reports.

Some thermostats and air conditioners keep the air moist or dry as well as warm. A "bit more humid" button for one of those has the same problem as a "one degree warmer" button: a template that reads the target, adds to it and keeps it under the maximum. This action does the step for you, the same way the humidifier actions do.

How to use it

  1. Open the automation or script that should do this, and select Add action.
  2. Search for increase humidity, and select Climate: Increase humidity 👻.
  3. Under Targets, choose the thermostats.
  4. Leave Step empty to use the thermostat's own step, or set it, like 5 for five percent.
  5. Select Save.

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

The Actions tool with Increase humidity 👻 picked and filled in with an example.
What Try this action opens, filled in with an example.

Decrease humidity

Turns down a thermostat's target humidity a step, within the limits it reports.

The other way round from Increase humidity: a "bit drier" button, or an automation that lets an air conditioner dry the bedroom a little more on a sticky summer night. Same rules and limits, the other direction.

How to use it

  1. Open the automation or script that should do this, and select Add action.
  2. Search for decrease humidity, and select Climate: Decrease humidity 👻.
  3. Under Targets, choose the thermostats.
  4. Leave Step empty to use the thermostat's own step, or set it, like 5 for five percent.
  5. Select Save.

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

The Actions tool with Decrease humidity 👻 picked and filled in with an example.
What Try this action opens, filled in with an example.

Set HVAC mode for

Puts thermostats in a mode for a while, like heat for eight hours, and back in the mode each had when the time is up. Spook stores when each one is due back and the mode it goes back to, so a restart of Home Assistant in between does not stop that.

It works like Turn on for, for thermostats only, with a mode in place of on and off. Named outright, anything that is not a thermostat 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 set HVAC mode for, and select Climate: Set HVAC mode for 👻.
  3. Under Targets, choose the thermostats, or a whole area.
  4. Set HVAC mode to the mode they should be in, like heat.
  5. Set Duration to how long they should stay in it, like 08:00:00 for eight hours.
  6. Select Save.

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

Turn on for

Turns thermostats 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 works like Turn on for, for thermostats only, where on is any mode but off. Named outright, anything that is not a thermostat 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 Climate: Turn on for 👻.
  3. Under Targets, choose the thermostats, or a whole area.
  4. Set Duration to how long they should stay on, like 01:00:00 for an hour.
  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 thermostats off for a while, and back in the mode each had when the time is up, not in a mode the thermostat picks. Spook stores when each one is due back and the mode it goes back to, so a restart of Home Assistant in between does not stop that.

It works like Turn off for, for thermostats only, and goes back to the mode each had rather than to on. Named outright, anything that is not a thermostat 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 Climate: Turn off for 👻.
  3. Under Targets, choose the thermostats, 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.

Next and previous preset mode

Steps a thermostat to its next preset, like from eco to comfort, or back to the previous one. Only through the presets you pick, if you like.

Think of a button on a remote that goes through eco, comfort and boost, one press at a time. Home Assistant can do that for a select, with select.select_next, but not for the presets of a thermostat. Without this, that button is a template that finds the preset in the list, takes the one after it, and starts over at the end. This action does the step for you.

How to use it

  1. Open the automation or script that should do this, and select Add action.
  2. Search for next preset mode, and select Climate: Next preset mode 👻. Or search for previous preset mode, and select Climate: Previous preset mode 👻, to go the other way.
  3. Under Targets, choose the thermostats.
  4. Leave Cycle on to go round at the end. Turn it off to stop there.
  5. Leave Options empty to step through all of the thermostat's presets, or fill in the ones to step through, in order, like eco, comfort and boost.
  6. Select Save.

Just want to see it work? Try next preset mode or try previous preset mode opens it in your Home Assistant, ready to run once.

Next and previous HVAC mode

Steps a thermostat to its next mode, like from heat to cool, or back to the previous one. Only through the modes you pick, if you like.

A single button that switches the heat pump between heating and cooling, or goes through every mode it has. The same as the presets above, for the HVAC mode: what the thermostat is doing, like heat, cool or off.

off is one of the modes, when the thermostat has it. Without Options, a step from the mode before it turns the thermostat off. Give the modes you want in Options, like heat and cool, to leave off out.

How to use it

  1. Open the automation or script that should do this, and select Add action.
  2. Search for next HVAC mode, and select Climate: Next HVAC mode 👻. Or search for previous HVAC mode, and select Climate: Previous HVAC mode 👻, to go the other way.
  3. Under Targets, choose the thermostats.
  4. Leave Cycle on to go round at the end. Turn it off to stop there.
  5. Leave Options empty to step through all of the thermostat's modes, or fill in the ones to step through, in order, like heat and cool.
  6. Select Save.

Just want to see it work? Try next HVAC mode or try previous HVAC mode opens it in your Home Assistant, ready to run once.

Next and previous fan mode

Steps a thermostat's fan to its next speed, like from low to medium, or back to the previous one. Only through the speeds you pick, if you like.

A "faster" and a "slower" button for the air conditioner in the bedroom. The same as the presets above, for the fan.

How to use it

  1. Open the automation or script that should do this, and select Add action.
  2. Search for next fan mode, and select Climate: Next fan mode 👻. Or search for previous fan mode, and select Climate: Previous fan mode 👻, to go the other way.
  3. Under Targets, choose the thermostats.
  4. Leave Cycle on to go round at the end. Turn it off to stop there.
  5. Leave Options empty to step through all of the thermostat's fan modes, or fill in the ones to step through, in order, like low, medium and high.
  6. Select Save.

Just want to see it work? Try next fan mode or try previous fan mode opens it in your Home Assistant, ready to run once.

Next and previous swing mode

Steps a thermostat to its next swing mode, the way its louvers move up and down, or back to the previous one. Only through the swing modes you pick, if you like.

The swing button of the remote that came with the air conditioner, on a dashboard or a button of your own. The same as the presets above, for the swing mode.

How to use it

  1. Open the automation or script that should do this, and select Add action.
  2. Search for next swing mode, and select Climate: Next swing mode 👻. Or search for previous swing mode, and select Climate: Previous swing mode 👻, to go the other way.
  3. Under Targets, choose the thermostats.
  4. Leave Cycle on to go round at the end. Turn it off to stop there.
  5. Leave Options empty to step through all of the thermostat's swing modes, or fill in the ones to step through, in order, like off and on.
  6. Select Save.

Just want to see it work? Try next swing mode or try previous swing mode opens it in your Home Assistant, ready to run once.

Next and previous horizontal swing mode

Steps a thermostat to its next horizontal swing mode, the way its louvers move left and right, or back to the previous one. Only through the ones you pick, if you like.

The same as the swing mode above, for the louvers that move sideways.

How to use it

  1. Open the automation or script that should do this, and select Add action.
  2. Search for next horizontal swing mode, and select Climate: Next horizontal swing mode 👻. Or search for previous horizontal swing mode, and select Climate: Previous horizontal swing mode 👻, to go the other way.
  3. Under Targets, choose the thermostats.
  4. Leave Cycle on to go round at the end. Turn it off to stop there.
  5. Leave Options empty to step through all of the thermostat's horizontal swing modes, or fill in the ones to step through, in order, like off and on.
  6. Select Save.

Just want to see it work? Try next horizontal swing mode or try previous horizontal swing mode 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.