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

Classes

class  NeatoConnectedSwitch
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
 SCAN_INTERVAL = timedelta(minutes=SCAN_INTERVAL_MINUTES)
 
string SWITCH_TYPE_SCHEDULE = "schedule"
 
dictionary SWITCH_TYPES = {SWITCH_TYPE_SCHEDULE: ["Schedule"]}
 

Detailed Description

Support for Neato Connected Vacuums switches.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.neato.switch.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up Neato switch with config entry.

Definition at line 31 of file switch.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 22 of file switch.py.

◆ SCAN_INTERVAL

homeassistant.components.neato.switch.SCAN_INTERVAL = timedelta(minutes=SCAN_INTERVAL_MINUTES)

Definition at line 24 of file switch.py.

◆ SWITCH_TYPE_SCHEDULE

string homeassistant.components.neato.switch.SWITCH_TYPE_SCHEDULE = "schedule"

Definition at line 26 of file switch.py.

◆ SWITCH_TYPES

dictionary homeassistant.components.neato.switch.SWITCH_TYPES = {SWITCH_TYPE_SCHEDULE: ["Schedule"]}

Definition at line 28 of file switch.py.