Valve
The valve integration is how Home Assistant controls water, gas and irrigation valves.
Home Assistant can set a valve to a position, but not a bit further. Spook adds the step, the same way it does for covers.
Actions
Spook adds two actions for valves. You find them wherever you add an action, marked with a 👻.
Both work the same way:
- Positions are whole percentages, from 0 for fully closed to 100 for fully open, the same as Home Assistant's own.
- The step is the one you give, or ten percent. A valve does not say how far one step is, the way a thermostat does.
- A step that would go past fully open or fully closed stops there.
Increase position
Moves a valve a step further open, stopping at fully open.
You cannot ask Home Assistant for "a bit more water". It wants a position, so you first read where the valve is, add to it, and keep it under 100. This action does that for you. Put it on a dashboard button next to the irrigation valve, and every press opens it a little further.
How to use it
- Open the automation or script that should do this, and select Add action.
- Search for increase position, and select Valve: Increase position 👻.
- Under Targets, pick the valves.
- Optionally, set Step to how many percent it should move. Ten when left empty.
- Select Save.
Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.

| Action properties | |
|---|---|
| Action | Valve: Increase position 👻 |
| Action name | valve.increase_position |
| Action targets | Yes, valve entities that can be set to a position |
| 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 | 10 |
The garden a fifth further open:
action: valve.increase_position
target:
entity_id: valve.garden_irrigation
data:
step: 20
Decrease position
Moves a valve a step further closed, stopping at fully closed.
The other way round from Increase position: a bit less, without working out the number, and never below fully closed.
How to use it
- Open the automation or script that should do this, and select Add action.
- Search for decrease position, and select Valve: Decrease position 👻.
- Under Targets, pick the valves.
- Optionally, set Step to how many percent it should move. Ten when left empty.
- Select Save.
Just want to see it work? Try this action opens it in your Home Assistant, ready to run once.

| Action properties | |
|---|---|
| Action | Valve: Decrease position 👻 |
| Action name | valve.decrease_position |
| Action targets | Yes, valve entities that can be set to a position |
| 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 | 10 |
The garden ten percent further closed:
action: valve.decrease_position
target:
entity_id: valve.garden_irrigation
- A valve that can only open and close, like most shutoff valves, cannot be targeted. There is no position to step.
- A valve that has not reported a position yet is left alone.
Missing something here?
An action, an entity or a repair this integration should have? Say so. Stuck, or found a bug? There is help.
Utility meter
The utility meter helper tracks how much electricity, gas or water you use per period. Spook tells you when the sensor it meters is gone.
Water heater
Spook adds actions that turn a water heater in Home Assistant up or down a step, within the limits it reports, and that step it to its next or previous operation mode.


