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

Namespaces

 const
 
 cover
 

Functions

bool async_setup (HomeAssistant hass, ConfigType config)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 CONFIG_SCHEMA
 
 DEFAULT_SCAN_INTERVAL = timedelta(seconds=30)
 

Detailed Description

Component for the Slide API.

Function Documentation

◆ async_setup()

bool homeassistant.components.slide.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the Slide platform.

Definition at line 55 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 34 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.slide.CONFIG_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  DOMAIN: vol.Schema(
4  {
5  vol.Required(CONF_USERNAME): cv.string,
6  vol.Required(CONF_PASSWORD): cv.string,
7  vol.Optional(
8  CONF_SCAN_INTERVAL, default=DEFAULT_SCAN_INTERVAL
9  ): cv.time_period,
10  vol.Optional(CONF_INVERT_POSITION, default=False): cv.boolean,
11  }
12  )
13  },
14  extra=vol.ALLOW_EXTRA,
15 )

Definition at line 38 of file __init__.py.

◆ DEFAULT_SCAN_INTERVAL

homeassistant.components.slide.DEFAULT_SCAN_INTERVAL = timedelta(seconds=30)

Definition at line 36 of file __init__.py.