mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +00:00
Format of the services updated. (#4781)
This commit is contained in:
parent
66b39210b1
commit
69005f54a3
@ -71,7 +71,7 @@ name:
|
|||||||
|
|
||||||
## {% linkable_title Platform Services %}
|
## {% linkable_title Platform Services %}
|
||||||
|
|
||||||
### {% linkable_title Service fan/xiaomi_miio_set_buzzer_on %}
|
### {% linkable_title Service `fan.xiaomi_miio_set_buzzer_on` %}
|
||||||
|
|
||||||
Turn the buzzer on.
|
Turn the buzzer on.
|
||||||
|
|
||||||
@ -79,7 +79,7 @@ Turn the buzzer on.
|
|||||||
|---------------------------|----------|-------------------------------------------------------|
|
|---------------------------|----------|-------------------------------------------------------|
|
||||||
| `entity_id` | yes | Only act on a specific air purifier. Else targets all. |
|
| `entity_id` | yes | Only act on a specific air purifier. Else targets all. |
|
||||||
|
|
||||||
### {% linkable_title Service fan/xiaomi_miio_set_buzzer_off %}
|
### {% linkable_title Service `fan.xiaomi_miio_set_buzzer_off` %}
|
||||||
|
|
||||||
Turn the buzzer off.
|
Turn the buzzer off.
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ Turn the buzzer off.
|
|||||||
|---------------------------|----------|---------------------------------------------------------|
|
|---------------------------|----------|---------------------------------------------------------|
|
||||||
| `entity_id` | yes | Only act on a specific air purifier. Else targets all. |
|
| `entity_id` | yes | Only act on a specific air purifier. Else targets all. |
|
||||||
|
|
||||||
### {% linkable_title Service fan/xiaomi_miio_set_led_on %}
|
### {% linkable_title Service `fan.xiaomi_miio_set_led_on` %}
|
||||||
|
|
||||||
Turn the led on.
|
Turn the led on.
|
||||||
|
|
||||||
@ -95,7 +95,7 @@ Turn the led on.
|
|||||||
|---------------------------|----------|---------------------------------------------------------|
|
|---------------------------|----------|---------------------------------------------------------|
|
||||||
| `entity_id` | yes | Only act on a specific air purifier. Else targets all. |
|
| `entity_id` | yes | Only act on a specific air purifier. Else targets all. |
|
||||||
|
|
||||||
### {% linkable_title Service fan/xiaomi_miio_set_led_off %}
|
### {% linkable_title Service `fan.xiaomi_miio_set_led_off` %}
|
||||||
|
|
||||||
Turn the led off.
|
Turn the led off.
|
||||||
|
|
||||||
@ -103,7 +103,7 @@ Turn the led off.
|
|||||||
|---------------------------|----------|---------------------------------------------------------|
|
|---------------------------|----------|---------------------------------------------------------|
|
||||||
| `entity_id` | yes | Only act on a specific air purifier. Else targets all. |
|
| `entity_id` | yes | Only act on a specific air purifier. Else targets all. |
|
||||||
|
|
||||||
### {% linkable_title Service fan/xiaomi_miio_set_child_lock_on %}
|
### {% linkable_title Service `fan.xiaomi_miio_set_child_lock_on` %}
|
||||||
|
|
||||||
Turn the child lock on.
|
Turn the child lock on.
|
||||||
|
|
||||||
@ -111,7 +111,7 @@ Turn the child lock on.
|
|||||||
|---------------------------|----------|---------------------------------------------------------|
|
|---------------------------|----------|---------------------------------------------------------|
|
||||||
| `entity_id` | yes | Only act on a specific air purifier. Else targets all. |
|
| `entity_id` | yes | Only act on a specific air purifier. Else targets all. |
|
||||||
|
|
||||||
### {% linkable_title Service fan/xiaomi_miio_set_child_lock_off %}
|
### {% linkable_title Service `fan.xiaomi_miio_set_child_lock_off` %}
|
||||||
|
|
||||||
Turn the child lock off.
|
Turn the child lock off.
|
||||||
|
|
||||||
@ -119,7 +119,7 @@ Turn the child lock off.
|
|||||||
|---------------------------|----------|---------------------------------------------------------|
|
|---------------------------|----------|---------------------------------------------------------|
|
||||||
| `entity_id` | yes | Only act on a specific air purifier. Else targets all. |
|
| `entity_id` | yes | Only act on a specific air purifier. Else targets all. |
|
||||||
|
|
||||||
### {% linkable_title Service fan/xiaomi_miio_set_led_brightness %}
|
### {% linkable_title Service `fan.xiaomi_miio_set_led_brightness` %}
|
||||||
|
|
||||||
Set the led brightness. Supported values are 0 (Bright), 1 (Dim), 2 (Off).
|
Set the led brightness. Supported values are 0 (Bright), 1 (Dim), 2 (Off).
|
||||||
|
|
||||||
@ -128,7 +128,7 @@ Set the led brightness. Supported values are 0 (Bright), 1 (Dim), 2 (Off).
|
|||||||
| `entity_id` | yes | Only act on a specific air purifier. Else targets all. |
|
| `entity_id` | yes | Only act on a specific air purifier. Else targets all. |
|
||||||
| `brightness` | no | Brightness, between 0 and 2. |
|
| `brightness` | no | Brightness, between 0 and 2. |
|
||||||
|
|
||||||
### {% linkable_title Service fan/xiaomi_miio_set_favorite_level %}
|
### {% linkable_title Service `fan.xiaomi_miio_set_favorite_level` %}
|
||||||
|
|
||||||
Set the favorite level of the operation mode "favorite".
|
Set the favorite level of the operation mode "favorite".
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ Configuration variables:
|
|||||||
|
|
||||||
## {% linkable_title Platform Services %}
|
## {% linkable_title Platform Services %}
|
||||||
|
|
||||||
### Service fan/xiaomi_miio_set_scene
|
### {% linkable_title Service `light.xiaomi_miio_set_scene` %}
|
||||||
|
|
||||||
Set one of the 4 available fixed scenes.
|
Set one of the 4 available fixed scenes.
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ services to access the remote control mode of the robot. These are:
|
|||||||
- `xiaomi_remote_control_move`
|
- `xiaomi_remote_control_move`
|
||||||
- `xiaomi_remote_control_move_step`
|
- `xiaomi_remote_control_move_step`
|
||||||
|
|
||||||
### {% linkable_title Service `vacuum/xiaomi_remote_control_start` %}
|
### {% linkable_title Service `vacuum.xiaomi_remote_control_start` %}
|
||||||
|
|
||||||
Start the remote control mode of the robot. You can then move it with
|
Start the remote control mode of the robot. You can then move it with
|
||||||
`remote_control_move`; when done, call `remote_control_stop`.
|
`remote_control_move`; when done, call `remote_control_stop`.
|
||||||
@ -69,7 +69,7 @@ Start the remote control mode of the robot. You can then move it with
|
|||||||
|---------------------------|----------|-------------------------------------------------------|
|
|---------------------------|----------|-------------------------------------------------------|
|
||||||
| `entity_id` | yes | Only act on specific robot; default targets all |
|
| `entity_id` | yes | Only act on specific robot; default targets all |
|
||||||
|
|
||||||
### {% linkable_title Service `vacuum/xiaomi_remote_control_stop` %}
|
### {% linkable_title Service `vacuum.xiaomi_remote_control_stop` %}
|
||||||
|
|
||||||
Exit the remote control mode of the robot.
|
Exit the remote control mode of the robot.
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ Exit the remote control mode of the robot.
|
|||||||
|---------------------------|----------|-------------------------------------------------------|
|
|---------------------------|----------|-------------------------------------------------------|
|
||||||
| `entity_id` | yes | Only act on specific robot; default targets all |
|
| `entity_id` | yes | Only act on specific robot; default targets all |
|
||||||
|
|
||||||
### {% linkable_title Service `vacuum/xiaomi_remote_control_move` %}
|
### {% linkable_title Service `vacuum.xiaomi_remote_control_move` %}
|
||||||
|
|
||||||
Remote control the robot. Please ensure you first set it in remote control
|
Remote control the robot. Please ensure you first set it in remote control
|
||||||
mode with `remote_control_start`.
|
mode with `remote_control_start`.
|
||||||
@ -89,8 +89,7 @@ mode with `remote_control_start`.
|
|||||||
| `rotation` | no | Rotation: between -179 degrees and 179 degrees |
|
| `rotation` | no | Rotation: between -179 degrees and 179 degrees |
|
||||||
| `duration` | no | The number of seconds that the robot should move for |
|
| `duration` | no | The number of seconds that the robot should move for |
|
||||||
|
|
||||||
|
### {% linkable_title Service `vacuum.xiaomi_remote_control_move_step` %}
|
||||||
### {% linkable_title Service `vacuum/xiaomi_remote_control_move_step` %}
|
|
||||||
|
|
||||||
Enter remote control mode, make one move, stop, and exit remote control mode.
|
Enter remote control mode, make one move, stop, and exit remote control mode.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user