mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-14 21:06:28 +00:00
Align documented lawn_mower attributes with implementation (#1923)
This commit is contained in:
parent
1b5be3826e
commit
2e9064010c
@ -13,14 +13,13 @@ Properties should always only return information from memory and not do I/O (lik
|
|||||||
|
|
||||||
|
|
||||||
| Name | Type | Default | Description
|
| Name | Type | Default | Description
|
||||||
| ---- | ---- | ------- | -----------
|
| -------- | ------------------------------------------ | ------- | -----------------
|
||||||
| activity | LawnMowerActivity | **Required** | One of the activities in the LawnMowerActivity enum.
|
| activity | <code>LawnMowerActivity | None</code> | `None` | Current activity.
|
||||||
| supported_features | int | (abstract method) | Bitmap of supported features. See below.
|
|
||||||
|
|
||||||
## Activities
|
## Activities
|
||||||
|
|
||||||
| Activity | Description
|
| Activity | Description
|
||||||
| ----- | -----------
|
| -------- | -----------
|
||||||
| `MOWING` | The lawn mower is currently mowing.
|
| `MOWING` | The lawn mower is currently mowing.
|
||||||
| `DOCKED` | The lawn mower is done mowing and is currently docked.
|
| `DOCKED` | The lawn mower is done mowing and is currently docked.
|
||||||
| `PAUSED` | The lawn mower was active and is now paused.
|
| `PAUSED` | The lawn mower was active and is now paused.
|
||||||
@ -33,9 +32,9 @@ and are combined using the bitwise or (`|`) operator.
|
|||||||
|
|
||||||
| Value | Description |
|
| Value | Description |
|
||||||
| -------------- | ---------------------------------------------------- |
|
| -------------- | ---------------------------------------------------- |
|
||||||
| `START_MOWING` | The lawn mower supports the mowing command. |
|
| `START_MOWING` | The lawn mower supports the start mowing command. |
|
||||||
| `PAUSE` | The lawn mower supports pausing the current task. |
|
| `PAUSE` | The lawn mower supports pausing the current task. |
|
||||||
| `DOCK` | The lawn mower supports the return to dock command.
|
| `DOCK` | The lawn mower supports the return to dock command. |
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user