mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Fix valve names (#36606)
This commit is contained in:
parent
76eed772e8
commit
fb8e6d28b4
@ -46,8 +46,8 @@ The following device classes are supported for valves:
|
|||||||
|
|
||||||
### Valve control actions
|
### Valve control actions
|
||||||
|
|
||||||
All valves respond to `valve.open`, `valve.close`, and `valve.toggle`.
|
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_position` and `valve.stop`.
|
Valves that allow setting a specific position may also be controlled with `valve.set_valve_position` and `valve.stop_valve`.
|
||||||
|
|
||||||
| Data attribute | Optional | Description |
|
| Data attribute | Optional | Description |
|
||||||
| ---------------------- | -------- | ----------- |
|
| ---------------------- | -------- | ----------- |
|
||||||
@ -61,12 +61,12 @@ automation:
|
|||||||
- trigger: time
|
- trigger: time
|
||||||
at: "07:15:00"
|
at: "07:15:00"
|
||||||
actions:
|
actions:
|
||||||
- action: valve.close
|
- action: valve.close_valve
|
||||||
target:
|
target:
|
||||||
entity_id: valve.demo
|
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.
|
Set the position of one or multiple valves if they support setting a specific position.
|
||||||
|
|
||||||
@ -83,7 +83,7 @@ automation:
|
|||||||
- trigger: time
|
- trigger: time
|
||||||
at: "07:15:00"
|
at: "07:15:00"
|
||||||
actions:
|
actions:
|
||||||
- action: valve.set_position
|
- action: valve.set_valve_position
|
||||||
target:
|
target:
|
||||||
entity_id: valve.demo
|
entity_id: valve.demo
|
||||||
data:
|
data:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user