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

Namespaces

 api
 
 application_credentials
 
 binary_sensor
 
 button
 
 calendar
 
 config_flow
 
 const
 
 coordinator
 
 device_tracker
 
 diagnostics
 
 entity
 
 lawn_mower
 
 number
 
 select
 
 sensor
 
 switch
 

Functions

bool async_setup_entry (HomeAssistant hass, AutomowerConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, AutomowerConfigEntry entry)
 
None cleanup_removed_devices (HomeAssistant hass, ConfigEntry config_entry, list[str] available_devices)
 
None remove_work_area_entities (HomeAssistant hass, ConfigEntry config_entry, set[int] removed_work_areas, str mower_id)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 AutomowerConfigEntry
 

Detailed Description

The Husqvarna Automower integration.

Function Documentation

◆ async_setup_entry()

bool homeassistant.components.husqvarna_automower.async_setup_entry ( HomeAssistant  hass,
AutomowerConfigEntry  entry 
)
Set up this integration using UI.

Definition at line 41 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.husqvarna_automower.async_unload_entry ( HomeAssistant  hass,
AutomowerConfigEntry  entry 
)
Handle unload of an entry.

Definition at line 86 of file __init__.py.

◆ cleanup_removed_devices()

None homeassistant.components.husqvarna_automower.cleanup_removed_devices ( HomeAssistant  hass,
ConfigEntry  config_entry,
list[str]   available_devices 
)
Cleanup entity and device registry from removed devices.

Definition at line 91 of file __init__.py.

◆ remove_work_area_entities()

None homeassistant.components.husqvarna_automower.remove_work_area_entities ( HomeAssistant  hass,
ConfigEntry  config_entry,
set[int]  removed_work_areas,
str  mower_id 
)
Remove all unused work area entities for the specified mower.

Definition at line 105 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 24 of file __init__.py.

◆ AutomowerConfigEntry

homeassistant.components.husqvarna_automower.AutomowerConfigEntry

Definition at line 38 of file __init__.py.