Skip to main content

Lawn Mower Entity

Derive entity platforms from homeassistant.components.lawn_mower.LawnMowerEntity

Properties

tip

Properties should always only return information from memory and not do I/O (like network requests). Implement update() or async_update() to fetch data.

NameTypeDefaultDescription
activityLawnMowerActivity | NoneNoneCurrent activity.

Activities

ActivityDescription
MOWINGThe lawn mower is currently mowing.
DOCKEDThe lawn mower is done mowing and is currently docked.
PAUSEDThe lawn mower was active and is now paused.
ERRORThe lawn mower encountered an error while active and needs assistance.

Supported Features

Supported features are defined by using values in the LawnMowerEntityFeature enum and are combined using the bitwise or (|) operator.

ValueDescription
START_MOWINGThe lawn mower supports the start mowing command.
PAUSEThe lawn mower supports pausing the current task.
DOCKThe lawn mower supports the return to dock command.

Methods

start_mowing or async_start_mowing

Start or resume the mowing task.

dock or async_dock

Stop the lawn mower, return to dock.

pause or async_pause

Pause the lawn mower during current operation.