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

Namespaces

 binary_sensor
 
 lock
 
 notify
 
 sensor
 

Classes

class  KebaHandler
 

Functions

bool async_setup (HomeAssistant hass, ConfigType config)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
dictionary _SERVICE_MAP
 
string CONF_FS = "failsafe"
 
string CONF_FS_FALLBACK = "failsafe_fallback"
 
string CONF_FS_INTERVAL = "refresh_interval"
 
string CONF_FS_PERSIST = "failsafe_persist"
 
string CONF_FS_TIMEOUT = "failsafe_timeout"
 
string CONF_RFID = "rfid"
 
 CONFIG_SCHEMA
 
string DOMAIN = "keba"
 
int MAX_FAST_POLLING_COUNT = 4
 
int MAX_POLLING_INTERVAL = 5
 
tuple PLATFORMS = (Platform.BINARY_SENSOR, Platform.SENSOR, Platform.LOCK, Platform.NOTIFY)
 

Detailed Description

Support for KEBA charging stations.

Function Documentation

◆ async_setup()

bool homeassistant.components.keba.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Check connectivity and version of KEBA charging station.

Definition at line 59 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 15 of file __init__.py.

◆ _SERVICE_MAP

dictionary homeassistant.components.keba._SERVICE_MAP
private
Initial value:
1 = {
2  "request_data": "async_request_data",
3  "set_energy": "async_set_energy",
4  "set_current": "async_set_current",
5  "authorize": "async_start",
6  "deauthorize": "async_stop",
7  "enable": "async_enable_ev",
8  "disable": "async_disable_ev",
9  "set_failsafe": "async_set_failsafe",
10 }

Definition at line 47 of file __init__.py.

◆ CONF_FS

string homeassistant.components.keba.CONF_FS = "failsafe"

Definition at line 21 of file __init__.py.

◆ CONF_FS_FALLBACK

string homeassistant.components.keba.CONF_FS_FALLBACK = "failsafe_fallback"

Definition at line 23 of file __init__.py.

◆ CONF_FS_INTERVAL

string homeassistant.components.keba.CONF_FS_INTERVAL = "refresh_interval"

Definition at line 25 of file __init__.py.

◆ CONF_FS_PERSIST

string homeassistant.components.keba.CONF_FS_PERSIST = "failsafe_persist"

Definition at line 24 of file __init__.py.

◆ CONF_FS_TIMEOUT

string homeassistant.components.keba.CONF_FS_TIMEOUT = "failsafe_timeout"

Definition at line 22 of file __init__.py.

◆ CONF_RFID

string homeassistant.components.keba.CONF_RFID = "rfid"

Definition at line 20 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.keba.CONFIG_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  DOMAIN: vol.Schema(
4  {
5  vol.Required(CONF_HOST): cv.string,
6  vol.Optional(CONF_RFID, default="00845500"): cv.string,
7  vol.Optional(CONF_FS, default=False): cv.boolean,
8  vol.Optional(CONF_FS_TIMEOUT, default=30): cv.positive_int,
9  vol.Optional(CONF_FS_FALLBACK, default=6): cv.positive_int,
10  vol.Optional(CONF_FS_PERSIST, default=0): cv.positive_int,
11  vol.Optional(CONF_FS_INTERVAL, default=5): cv.positive_int,
12  }
13  )
14  },
15  extra=vol.ALLOW_EXTRA,
16 )

Definition at line 30 of file __init__.py.

◆ DOMAIN

string homeassistant.components.keba.DOMAIN = "keba"

Definition at line 17 of file __init__.py.

◆ MAX_FAST_POLLING_COUNT

int homeassistant.components.keba.MAX_FAST_POLLING_COUNT = 4

Definition at line 28 of file __init__.py.

◆ MAX_POLLING_INTERVAL

int homeassistant.components.keba.MAX_POLLING_INTERVAL = 5

Definition at line 27 of file __init__.py.

◆ PLATFORMS

tuple homeassistant.components.keba.PLATFORMS = (Platform.BINARY_SENSOR, Platform.SENSOR, Platform.LOCK, Platform.NOTIFY)

Definition at line 18 of file __init__.py.