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

Namespaces

 light
 
 switch
 

Classes

class  MochadCtrl
 

Functions

bool setup (HomeAssistant hass, ConfigType config)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string CONF_COMM_TYPE = "comm_type"
 
 CONFIG_SCHEMA
 
string DOMAIN = "mochad"
 
 REQ_LOCK = threading.Lock()
 

Detailed Description

Support for CM15A/CM19A X10 Controller using mochad daemon.

Function Documentation

◆ setup()

bool homeassistant.components.mochad.setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the mochad component.

Definition at line 40 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 19 of file __init__.py.

◆ CONF_COMM_TYPE

string homeassistant.components.mochad.CONF_COMM_TYPE = "comm_type"

Definition at line 21 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.mochad.CONFIG_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  DOMAIN: vol.Schema(
4  {
5  vol.Optional(CONF_HOST, default="localhost"): cv.string,
6  vol.Optional(CONF_PORT, default=1099): cv.port,
7  }
8  )
9  },
10  extra=vol.ALLOW_EXTRA,
11 )

Definition at line 27 of file __init__.py.

◆ DOMAIN

string homeassistant.components.mochad.DOMAIN = "mochad"

Definition at line 23 of file __init__.py.

◆ REQ_LOCK

homeassistant.components.mochad.REQ_LOCK = threading.Lock()

Definition at line 25 of file __init__.py.