mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 08:46:51 +00:00
Adjust homeassistant services description to clarify their purpose (#19035)
This commit is contained in:
parent
476abf5ec3
commit
3cd4eb1003
@ -67,7 +67,10 @@ action:
|
|||||||
|
|
||||||
### Service `homeassistant.toggle`
|
### Service `homeassistant.toggle`
|
||||||
|
|
||||||
Generic service to toggle devices on/off under any domain. Same usage as the light.turn_on, switch.turn_on, etc. services.
|
Generic service to toggle devices on/off. Same usage as the
|
||||||
|
`light.toggle`, `switch.toggle`, etc. services. The difference with this
|
||||||
|
service compared the others, is that is can be used to mix different domains,
|
||||||
|
for example, a light and a switch can be toggled in a single service call.
|
||||||
|
|
||||||
| Service data attribute | Optional | Description |
|
| Service data attribute | Optional | Description |
|
||||||
|---------------------------|----------|-------------------------------------------------------|
|
|---------------------------|----------|-------------------------------------------------------|
|
||||||
@ -79,12 +82,17 @@ Generic service to toggle devices on/off under any domain. Same usage as the lig
|
|||||||
action:
|
action:
|
||||||
service: homeassistant.toggle
|
service: homeassistant.toggle
|
||||||
target:
|
target:
|
||||||
entity_id: light.living_room
|
entity_id:
|
||||||
|
- light.living_room
|
||||||
|
- switch.tv
|
||||||
```
|
```
|
||||||
|
|
||||||
### Service `homeassistant.turn_on`
|
### Service `homeassistant.turn_on`
|
||||||
|
|
||||||
Generic service to turn devices on under any domain. Same usage as the light.turn_on, switch.turn_on, etc. services.
|
Generic service to toggle devices on. Same usage as the
|
||||||
|
`light.turn_on`, `switch.turn_on`, etc. services. The difference with this
|
||||||
|
service compared the others, is that is can be used to mix different domains,
|
||||||
|
for example, a light and a switch can be turned on in a single service call.
|
||||||
|
|
||||||
| Service data attribute | Optional | Description |
|
| Service data attribute | Optional | Description |
|
||||||
|---------------------------|----------|-------------------------------------------------------|
|
|---------------------------|----------|-------------------------------------------------------|
|
||||||
@ -96,12 +104,17 @@ Generic service to turn devices on under any domain. Same usage as the light.tur
|
|||||||
action:
|
action:
|
||||||
service: homeassistant.turn_on
|
service: homeassistant.turn_on
|
||||||
target:
|
target:
|
||||||
entity_id: light.living_room
|
entity_id:
|
||||||
|
- light.living_room
|
||||||
|
- switch.tv
|
||||||
```
|
```
|
||||||
|
|
||||||
### Service `homeassistant.turn_off`
|
### Service `homeassistant.turn_off`
|
||||||
|
|
||||||
Generic service to turn devices off under any domain. Same usage as the light.turn_on, switch.turn_on, etc. services.
|
Generic service to toggle devices off. Same usage as the
|
||||||
|
`light.turn_off`, `switch.turn_off`, etc. services. The difference with this
|
||||||
|
service compared the others, is that is can be used to mix different domains,
|
||||||
|
for example, a light and a switch can be turned off in a single service call.
|
||||||
|
|
||||||
| Service data attribute | Optional | Description |
|
| Service data attribute | Optional | Description |
|
||||||
|---------------------------|----------|-------------------------------------------------------|
|
|---------------------------|----------|-------------------------------------------------------|
|
||||||
@ -113,7 +126,9 @@ Generic service to turn devices off under any domain. Same usage as the light.tu
|
|||||||
action:
|
action:
|
||||||
service: homeassistant.turn_off
|
service: homeassistant.turn_off
|
||||||
target:
|
target:
|
||||||
entity_id: light.living_room
|
entity_id:
|
||||||
|
- light.living_room
|
||||||
|
- switch.tv
|
||||||
```
|
```
|
||||||
|
|
||||||
### Service `homeassistant.update_entity`
|
### Service `homeassistant.update_entity`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user