Skip to content

Commit

Permalink
Fix valve names (#36606)
Browse files Browse the repository at this point in the history
  • Loading branch information
joostlek authored Dec 29, 2024
1 parent 76eed77 commit fb8e6d2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/_integrations/valve.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ The following device classes are supported for valves:

### Valve control actions

All valves respond to `valve.open`, `valve.close`, and `valve.toggle`.
Valves that allow setting a specific position may also be controlled with `valve.set_position` and `valve.stop`.
All valves respond to `valve.open_valve`, `valve.close_valve`, and `valve.toggle`.
Valves that allow setting a specific position may also be controlled with `valve.set_valve_position` and `valve.stop_valve`.

| Data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
Expand All @@ -61,12 +61,12 @@ automation:
- trigger: time
at: "07:15:00"
actions:
- action: valve.close
- action: valve.close_valve
target:
entity_id: valve.demo
```
### Action `valve.set_position`
### Action `valve.set_valve_position`

Set the position of one or multiple valves if they support setting a specific position.

Expand All @@ -83,7 +83,7 @@ automation:
- trigger: time
at: "07:15:00"
actions:
- action: valve.set_position
- action: valve.set_valve_position
target:
entity_id: valve.demo
data:
Expand Down

0 comments on commit fb8e6d2

Please sign in to comment.