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

Namespaces

 const
 
 sensor
 
 switch
 

Functions

None _add_entity_info (peripheral, device, entity_dict)
 
def _configure_entities (hass, config, consumer)
 
def _load_platform (hass, config, entity_type, entity_info)
 
bool async_setup (HomeAssistant hass, ConfigType config)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 CONFIG_SCHEMA
 
string DOMAIN = "versasense"
 

Detailed Description

Support for VersaSense MicroPnP devices.

Function Documentation

◆ _add_entity_info()

None homeassistant.components.versasense._add_entity_info (   peripheral,
  device,
  entity_dict 
)
private
Add info from a peripheral to specified list.

Definition at line 76 of file __init__.py.

◆ _configure_entities()

def homeassistant.components.versasense._configure_entities (   hass,
  config,
  consumer 
)
private
Fetch all devices with their peripherals for representation.

Definition at line 49 of file __init__.py.

◆ _load_platform()

def homeassistant.components.versasense._load_platform (   hass,
  config,
  entity_type,
  entity_info 
)
private
Load platform with list of entity info.

Definition at line 93 of file __init__.py.

◆ async_setup()

bool homeassistant.components.versasense.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the versasense component.

Definition at line 36 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 26 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.versasense.CONFIG_SCHEMA
Initial value:
1 = vol.Schema(
2  {DOMAIN: vol.Schema({vol.Required(CONF_HOST): cv.string})}, extra=vol.ALLOW_EXTRA
3 )

Definition at line 31 of file __init__.py.

◆ DOMAIN

string homeassistant.components.versasense.DOMAIN = "versasense"

Definition at line 28 of file __init__.py.