Climate
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
- Open the automation or script that should do this, and select Add action.
- Search for increase temperature, and select Climate: Increase temperature 👻.
- Under Targets, choose the thermostats.
- Leave Step empty to use the thermostat's own step, or fill in how many degrees, like
1. - Select Save.
Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.

| Action properties | |
|---|---|
| Action | Climate: Increase temperature 👻 |
| Action name | climate.increase_temperature |
| Action targets | Yes, climate entities with a setpoint |
| Action response | No response |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action data parameters | |||
|---|---|---|---|
| Attribute | Type | Required | Default / Example |
step | float | No | The thermostat's own step |
Both actions, increase and decrease, work the same way:
- The step is the one you give, or the thermostat's own step, or half a degree (one degree in Fahrenheit) when it has none, the same fallback the Home Assistant interface uses.
- A thermostat with one setpoint has it moved. A thermostat that heats below one setpoint and cools above another has both moved, so the band between them keeps its width. In heat and cool mode, the band is what moves, also on a thermostat that reports a single setpoint as well.
- The setpoint stays within the minimum and maximum the thermostat reports. A step that would cross one stops at it, and a band stops whole when either side reaches a limit.
- A thermostat that is off gets its setpoint moved and stays off.
Turn the living room up one degree:
action: climate.increase_temperature
target:
entity_id: climate.living_room
data:
step: 1
- A thermostat without a setpoint, like one that only does fan speeds, cannot be targeted.
- A thermostat in a mode without a setpoint at that moment, or that has not reported one yet, is left alone.
- A setpoint already past one of the thermostat's own limits, which some integrations report, is left where it is and not pulled back. So turning it up never makes it colder or jumps it further than the step.
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
- Open the automation or script that should do this, and select Add action.
- Search for decrease temperature, and select Climate: Decrease temperature 👻.
- Under Targets, choose the thermostats.
- Leave Step empty to use the thermostat's own step, or fill in how many degrees, like
1. - Select Save.
Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.

| Action properties | |
|---|---|
| Action | Climate: Decrease temperature 👻 |
| Action name | climate.decrease_temperature |
| Action targets | Yes, climate entities with a setpoint |
| Action response | No response |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action data parameters | |||
|---|---|---|---|
| Attribute | Type | Required | Default / Example |
step | float | No | The thermostat's own step |
Both actions, increase and decrease, work the same way:
- The step is the one you give, or the thermostat's own step, or half a degree (one degree in Fahrenheit) when it has none, the same fallback the Home Assistant interface uses.
- A thermostat with one setpoint has it moved. A thermostat that heats below one setpoint and cools above another has both moved, so the band between them keeps its width. In heat and cool mode, the band is what moves, also on a thermostat that reports a single setpoint as well.
- The setpoint stays within the minimum and maximum the thermostat reports. A step that would cross one stops at it, and a band stops whole when either side reaches a limit.
- A thermostat that is off gets its setpoint moved and stays off.
Turn the living room down by the thermostat's own step:
action: climate.decrease_temperature
target:
entity_id: climate.living_room
- A thermostat without a setpoint, like one that only does fan speeds, cannot be targeted.
- A thermostat in a mode without a setpoint at that moment, or that has not reported one yet, is left alone.
- A setpoint already past one of the thermostat's own limits, which some integrations report, is left where it is and not pulled back. So turning it up never makes it colder or jumps it further than the step.
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
- Open the automation or script that should do this, and select Add action.
- Search for increase humidity, and select Climate: Increase humidity 👻.
- Under Targets, choose the thermostats.
- Leave Step empty to use the thermostat's own step, or set it, like
5for five percent. - Select Save.
Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.

| Action properties | |
|---|---|
| Action | Climate: Increase humidity 👻 |
| Action name | climate.increase_humidity |
| Action targets | Yes, climate entities with a target humidity |
| Action response | No response |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action data parameters | |||
|---|---|---|---|
| Attribute | Type | Required | Default / Example |
step | integer | No | The thermostat's own step |
Both actions, increase and decrease, work the same way:
- The step is the one you give, in whole percentages, or the thermostat's own step, or one percent when it has none. The same as the humidifier actions.
- The target humidity stays within the minimum and maximum the thermostat reports. A step that would cross one stops at it.
- A thermostat that is off gets its target humidity moved and stays off.
Five percent more in the living room:
action: climate.increase_humidity
target:
entity_id: climate.living_room
data:
step: 5
- A thermostat without a target humidity, which is most of them, cannot be targeted. A humidifier on its own has its own actions.
- A thermostat that has not reported a target humidity yet is left alone.
- A target humidity already past one of the thermostat's own limits is left where it is and not pulled back. So turning it up never makes it drier or jumps it further than the step.
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
- Open the automation or script that should do this, and select Add action.
- Search for decrease humidity, and select Climate: Decrease humidity 👻.
- Under Targets, choose the thermostats.
- Leave Step empty to use the thermostat's own step, or set it, like
5for five percent. - Select Save.
Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.

| Action properties | |
|---|---|
| Action | Climate: Decrease humidity 👻 |
| Action name | climate.decrease_humidity |
| Action targets | Yes, climate entities with a target humidity |
| Action response | No response |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action data parameters | |||
|---|---|---|---|
| Attribute | Type | Required | Default / Example |
step | integer | No | The thermostat's own step |
Both actions, increase and decrease, work the same way:
- The step is the one you give, in whole percentages, or the thermostat's own step, or one percent when it has none. The same as the humidifier actions.
- The target humidity stays within the minimum and maximum the thermostat reports. A step that would cross one stops at it.
- A thermostat that is off gets its target humidity moved and stays off.
Turn the living room down by the thermostat's own step:
action: climate.decrease_humidity
target:
entity_id: climate.living_room
- A thermostat without a target humidity, which is most of them, cannot be targeted. A humidifier on its own has its own actions.
- A thermostat that has not reported a target humidity yet is left alone.
- A target humidity already past one of the thermostat's own limits is left where it is and not pulled back. So turning it up never makes it drier or jumps it further than the step.
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
- Open the automation or script that should do this, and select Add action.
- Search for set HVAC mode for, and select Climate: Set HVAC mode for 👻.
- Under Targets, choose the thermostats, or a whole area.
- Set HVAC mode to the mode they should be in, like
heat. - Set Duration to how long they should stay in it, like
08:00:00for eight hours. - Select Save.
Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.
| Action properties | |
|---|---|
| Action | Climate: Set HVAC mode for 👻 |
| Action name | climate.set_hvac_mode_for |
| Action targets | Yes, climate entities |
| Action response | No response |
| Spook's influence | Newly added action |
| Tools | Try this action |
The living room on heat for eight hours:
action: climate.set_hvac_mode_for
target:
entity_id: climate.living_room
data:
hvac_mode: heat
duration:
hours: 8
- The mode has to be one of the thermostat's own modes, and so does the mode it is in, the one it goes back to. A thermostat without them is refused when named, and passed over in an area.
- A thermostat that is unavailable, or does not say which mode it is in, is refused when named, and passed over in an area.
- A thermostat already in that mode is left alone, and Spook says so in the log.
- Changing its mode yourself ends the hold, whichever mode you pick. Spook leaves it alone from then on, also when the time is up.
- Asking again, for the same mode or another, moves the time it goes back. It still goes back to the mode it had before the first time. Asking for that mode itself puts it back in it now, and ends the hold.
- Spook puts it in the mode, and back, with
climate.set_hvac_modeand nothing else, so its setpoint is up to the thermostat. - A thermostat that is out of reach when its time comes is put back once it is back, unless it comes back in another mode.
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
- Open the automation or script that should do this, and select Add action.
- Search for turn on for, and select Climate: Turn on for 👻.
- Under Targets, choose the thermostats, or a whole area.
- Set Duration to how long they should stay on, like
01:00:00for an hour. - Select Save.
Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.
| Action properties | |
|---|---|
| Action | Climate: Turn on for 👻 |
| Action name | climate.turn_on_for |
| Action targets | Yes, climate entities |
| Action response | No response |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action data parameters | |||
|---|---|---|---|
| Attribute | Type | Required | Default / Example |
duration | string | Yes | 01:00:00 |
The bedroom on for an hour:
action: climate.turn_on_for
target:
entity_id: climate.bedroom
data:
duration: "01:00:00"
- A thermostat that is on already, in any mode, is left alone, and Spook says so in the log.
- Spook turns it on with
climate.turn_on, so the mode it lands in is up to the thermostat. It turns it back off withclimate.turn_off. - Changing it to another mode yourself keeps it on, so the hold stands. Turning it off yourself ends the hold.
- A thermostat that cannot be turned both on and off is refused when named, and passed over in an area. There would be no way back. The same goes for one that is unavailable, or does not say which mode it is in.
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
- Open the automation or script that should do this, and select Add action.
- Search for turn off for, and select Climate: Turn off for 👻.
- Under Targets, choose the thermostats, or a whole area.
- Set Duration to how long they should stay off, like
00:30:00for half an hour. - Select Save.
Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.
| Action properties | |
|---|---|
| Action | Climate: Turn off for 👻 |
| Action name | climate.turn_off_for |
| Action targets | Yes, climate entities |
| Action response | No response |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action data parameters | |||
|---|---|---|---|
| Attribute | Type | Required | Default / Example |
duration | string | Yes | 00:30:00 |
The living room off for half an hour, while the windows are open:
action: climate.turn_off_for
target:
entity_id: climate.living_room
data:
duration:
minutes: 30
- Spook turns it off with
climate.set_hvac_modetooff, and back withclimate.set_hvac_modeto the mode it had. Sooffhas to be one of the thermostat's own modes, and so does the mode it is in. A thermostat without them is refused when named, and passed over in an area. - A thermostat that is off already is left alone, and Spook says so in the log.
- Turning it on yourself, in any mode, ends the hold. Spook leaves it alone from then on, also when the time is up.
- A thermostat that is unavailable, or does not say which mode it is in, is refused when named, and passed over in an area.
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
- Open the automation or script that should do this, and select Add action.
- 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.
- Under Targets, choose the thermostats.
- Leave Cycle on to go round at the end. Turn it off to stop there.
- Leave Options empty to step through all of the thermostat's presets, or fill in the ones to step through, in order, like
eco,comfortandboost. - 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.
| Action properties | |
|---|---|
| Action | Climate: Next preset mode 👻 |
| Action name | climate.next_preset_mode |
| Action targets | Yes, climate entities with presets |
| Action response | No response |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action properties | |
|---|---|
| Action | Climate: Previous preset mode 👻 |
| Action name | climate.previous_preset_mode |
| Action targets | Yes, climate entities with presets |
| Action response | No response |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action data parameters | |||
|---|---|---|---|
| Attribute | Type | Required | Default / Example |
cycle | boolean | No | true |
options | list | No | All of the thermostat's own |
These actions, next and previous for every kind of mode, work the same way:
- Without Options, they step through the thermostat's own list, in the order the thermostat gives it.
- With Options, they step through those, in the order you give them, and skip the rest.
- A thermostat in a mode that is not in that list, or that does not say, goes to the first one with next, and to the last one with previous.
- With Cycle on, the last goes round to the first, and the first back to the last. With Cycle off, a thermostat at the end stays there, and is sent nothing.
- A thermostat already where the step would take it, like one with a single mode in the list, is sent nothing.
- Spook sets the new mode the way the Home Assistant action for it does, like
climate.set_preset_mode, with the same checks.
A button on the living room remote that goes through three presets, one press at a time, and back to eco after boost:
triggers:
- trigger: state
entity_id: event.living_room_remote_button_1
not_from: unavailable
not_to: unavailable
actions:
- action: climate.next_preset_mode
target:
entity_id: climate.living_room
data:
options:
- eco
- comfort
- boost
One preset back, through all of the thermostat's own:
action: climate.previous_preset_mode
target:
entity_id: climate.living_room
- A thermostat without presets cannot be targeted. Named outright, it is refused with an error. Picked up through an area, a device, a floor or a label, it is passed over, and the others are stepped. One that says it has presets but lists none is sent nothing, also when named outright, and also with Options.
- Every option has to be one the thermostat has. One it does not have refuses the whole call with an error that names it, and no thermostat in the call is changed, not even the ones that have it.
- An option given twice is refused: at that mode, there is no telling which of the two the thermostat is at.
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
- Open the automation or script that should do this, and select Add action.
- 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.
- Under Targets, choose the thermostats.
- Leave Cycle on to go round at the end. Turn it off to stop there.
- Leave Options empty to step through all of the thermostat's modes, or fill in the ones to step through, in order, like
heatandcool. - 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.
| Action properties | |
|---|---|
| Action | Climate: Next HVAC mode 👻 |
| Action name | climate.next_hvac_mode |
| Action targets | Yes, climate entities |
| Action response | No response |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action properties | |
|---|---|
| Action | Climate: Previous HVAC mode 👻 |
| Action name | climate.previous_hvac_mode |
| Action targets | Yes, climate entities |
| Action response | No response |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action data parameters | |||
|---|---|---|---|
| Attribute | Type | Required | Default / Example |
cycle | boolean | No | true |
options | list | No | All of the thermostat's own |
They work the same way as next and previous preset mode: with or without Options, with or without Cycle, and from a mode outside the list.
Switch the living room between heating and cooling, without ever turning it off:
action: climate.next_hvac_mode
target:
entity_id: climate.living_room
data:
options:
- heat
- cool
- Every thermostat has HVAC modes, so any thermostat can be targeted. One that lists none is sent nothing, also with Options.
- Every option has to be one the thermostat has. One it does not have refuses the whole call with an error that names it, and no thermostat in the call is changed, not even the ones that have it.
- An option given twice is refused: at that mode, there is no telling which of the two the thermostat is at.
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
- Open the automation or script that should do this, and select Add action.
- 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.
- Under Targets, choose the thermostats.
- Leave Cycle on to go round at the end. Turn it off to stop there.
- 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,mediumandhigh. - 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.
| Action properties | |
|---|---|
| Action | Climate: Next fan mode 👻 |
| Action name | climate.next_fan_mode |
| Action targets | Yes, climate entities with a fan mode |
| Action response | No response |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action properties | |
|---|---|
| Action | Climate: Previous fan mode 👻 |
| Action name | climate.previous_fan_mode |
| Action targets | Yes, climate entities with a fan mode |
| Action response | No response |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action data parameters | |||
|---|---|---|---|
| Attribute | Type | Required | Default / Example |
cycle | boolean | No | true |
options | list | No | All of the thermostat's own |
They work the same way as next and previous preset mode: with or without Options, with or without Cycle, and from a mode outside the list.
One step faster, stopping at the fastest rather than going round to the slowest:
action: climate.next_fan_mode
target:
entity_id: climate.bedroom
data:
cycle: false
options:
- low
- medium
- high
- A thermostat without a fan mode cannot be targeted. Named outright, it is refused with an error. Picked up through an area, a device, a floor or a label, it is passed over, and the others are stepped. One that says it has fan modes but lists none is sent nothing, also when named outright, and also with Options.
- Every option has to be one the thermostat has. One it does not have refuses the whole call with an error that names it, and no thermostat in the call is changed, not even the ones that have it.
- An option given twice is refused: at that mode, there is no telling which of the two the thermostat is at.
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
- Open the automation or script that should do this, and select Add action.
- 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.
- Under Targets, choose the thermostats.
- Leave Cycle on to go round at the end. Turn it off to stop there.
- Leave Options empty to step through all of the thermostat's swing modes, or fill in the ones to step through, in order, like
offandon. - 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.
| Action properties | |
|---|---|
| Action | Climate: Next swing mode 👻 |
| Action name | climate.next_swing_mode |
| Action targets | Yes, climate entities with a swing mode |
| Action response | No response |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action properties | |
|---|---|
| Action | Climate: Previous swing mode 👻 |
| Action name | climate.previous_swing_mode |
| Action targets | Yes, climate entities with a swing mode |
| Action response | No response |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action data parameters | |||
|---|---|---|---|
| Attribute | Type | Required | Default / Example |
cycle | boolean | No | true |
options | list | No | All of the thermostat's own |
They work the same way as next and previous preset mode: with or without Options, with or without Cycle, and from a mode outside the list.
Go through the bedroom's swing modes, in the order the air conditioner lists them:
action: climate.next_swing_mode
target:
entity_id: climate.bedroom
- A thermostat without a swing mode cannot be targeted. Named outright, it is refused with an error. Picked up through an area, a device, a floor or a label, it is passed over, and the others are stepped. One that says it has swing modes but lists none is sent nothing, also when named outright, and also with Options.
- Every option has to be one the thermostat has. One it does not have refuses the whole call with an error that names it, and no thermostat in the call is changed, not even the ones that have it.
- An option given twice is refused: at that mode, there is no telling which of the two the thermostat is at.
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
- Open the automation or script that should do this, and select Add action.
- 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.
- Under Targets, choose the thermostats.
- Leave Cycle on to go round at the end. Turn it off to stop there.
- 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
offandon. - 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.
| Action properties | |
|---|---|
| Action | Climate: Next horizontal swing mode 👻 |
| Action name | climate.next_swing_horizontal_mode |
| Action targets | Yes, climate entities with a horizontal swing mode |
| Action response | No response |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action properties | |
|---|---|
| Action | Climate: Previous horizontal swing mode 👻 |
| Action name | climate.previous_swing_horizontal_mode |
| Action targets | Yes, climate entities with a horizontal swing mode |
| Action response | No response |
| Spook's influence | Newly added action |
| Tools | Try this action |
| Action data parameters | |||
|---|---|---|---|
| Attribute | Type | Required | Default / Example |
cycle | boolean | No | true |
options | list | No | All of the thermostat's own |
They work the same way as next and previous preset mode: with or without Options, with or without Cycle, and from a mode outside the list.
One horizontal swing mode back in the living room:
action: climate.previous_swing_horizontal_mode
target:
entity_id: climate.living_room
- A thermostat without a horizontal swing mode cannot be targeted. Named outright, it is refused with an error. Picked up through an area, a device, a floor or a label, it is passed over, and the others are stepped. One that says it has horizontal swing modes but lists none is sent nothing, also when named outright, and also with Options.
- Every option has to be one the thermostat has. One it does not have refuses the whole call with an error that names it, and no thermostat in the call is changed, not even the ones that have it.
- An option given twice is refused: at that mode, there is no telling which of the two the thermostat is at.
Missing something here?
An action, an entity or a repair this integration should have? Say so. Stuck, or found a bug? There is help.
Calendar
Spook adds actions to find, change and delete calendar events from automations, by a search or by their title.
Dashboards
Spook adds actions to read, save, make and delete dashboards and their resources from your automations and scripts, and tells you when a card on your dashboards uses entities, areas, devices, floors, labels, actions, views, icons, themes or resources that do not exist.




