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

Classes

class  AutomowerScheduleSwitchEntity
 
class  StayOutZoneSwitchEntity
 
class  WorkAreaSwitchEntity
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
int PARALLEL_UPDATES = 1
 

Detailed Description

Creates a switch entity for the mower.

Function Documentation

◆ async_setup_entry()

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

Definition at line 27 of file switch.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 24 of file switch.py.

◆ PARALLEL_UPDATES

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

Definition at line 22 of file switch.py.