Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.husqvarna_automower.lawn_mower Namespace Reference

Classes

class  AutomowerLawnMowerEntity
 

Functions

None async_setup_entry (HomeAssistant hass, AutomowerConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
tuple DOCKED_ACTIVITIES = (MowerActivities.PARKED_IN_CS, MowerActivities.CHARGING)
 
string MOW = "mow"
 
tuple MOWING_ACTIVITIES
 
list OVERRIDE_MODES = [MOW, PARK]
 
int PARALLEL_UPDATES = 1
 
string PARK = "park"
 
list PAUSED_STATES
 
tuple SUPPORT_STATE_SERVICES
 

Detailed Description

Husqvarna Automower lawn mower entity.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.husqvarna_automower.lawn_mower.async_setup_entry ( HomeAssistant  hass,
AutomowerConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up lawn mower platform.

Definition at line 49 of file lawn_mower.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.husqvarna_automower.lawn_mower._LOGGER = logging.getLogger(__name__)
private

Definition at line 25 of file lawn_mower.py.

◆ DOCKED_ACTIVITIES

tuple homeassistant.components.husqvarna_automower.lawn_mower.DOCKED_ACTIVITIES = (MowerActivities.PARKED_IN_CS, MowerActivities.CHARGING)

Definition at line 29 of file lawn_mower.py.

◆ MOW

string homeassistant.components.husqvarna_automower.lawn_mower.MOW = "mow"

Definition at line 44 of file lawn_mower.py.

◆ MOWING_ACTIVITIES

tuple homeassistant.components.husqvarna_automower.lawn_mower.MOWING_ACTIVITIES
Initial value:
1 = (
2  MowerActivities.MOWING,
3  MowerActivities.LEAVING,
4 )

Definition at line 30 of file lawn_mower.py.

◆ OVERRIDE_MODES

list homeassistant.components.husqvarna_automower.lawn_mower.OVERRIDE_MODES = [MOW, PARK]

Definition at line 46 of file lawn_mower.py.

◆ PARALLEL_UPDATES

int homeassistant.components.husqvarna_automower.lawn_mower.PARALLEL_UPDATES = 1

Definition at line 27 of file lawn_mower.py.

◆ PARK

string homeassistant.components.husqvarna_automower.lawn_mower.PARK = "park"

Definition at line 45 of file lawn_mower.py.

◆ PAUSED_STATES

list homeassistant.components.husqvarna_automower.lawn_mower.PAUSED_STATES
Initial value:
1 = [
2  MowerStates.PAUSED,
3  MowerStates.WAIT_UPDATING,
4  MowerStates.WAIT_POWER_UP,
5 ]

Definition at line 34 of file lawn_mower.py.

◆ SUPPORT_STATE_SERVICES

tuple homeassistant.components.husqvarna_automower.lawn_mower.SUPPORT_STATE_SERVICES
Initial value:
1 = (
2  LawnMowerEntityFeature.DOCK
3  | LawnMowerEntityFeature.PAUSE
4  | LawnMowerEntityFeature.START_MOWING
5 )

Definition at line 39 of file lawn_mower.py.