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

Namespaces

 binary_sensor
 
 switch
 

Classes

class  GC100Device
 

Functions

bool setup (HomeAssistant hass, ConfigType base_config)
 

Variables

string CONF_PORTS = "ports"
 
 CONFIG_SCHEMA
 
string DATA_GC100 = "gc100"
 
int DEFAULT_PORT = 4998
 
string DOMAIN = "gc100"
 

Detailed Description

Support for controlling Global Cache gc100.

Function Documentation

◆ setup()

bool homeassistant.components.gc100.setup ( HomeAssistant  hass,
ConfigType  base_config 
)
Set up the gc100 component.

Definition at line 31 of file __init__.py.

Variable Documentation

◆ CONF_PORTS

string homeassistant.components.gc100.CONF_PORTS = "ports"

Definition at line 11 of file __init__.py.

◆ CONFIG_SCHEMA

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

Definition at line 18 of file __init__.py.

◆ DATA_GC100

string homeassistant.components.gc100.DATA_GC100 = "gc100"

Definition at line 16 of file __init__.py.

◆ DEFAULT_PORT

int homeassistant.components.gc100.DEFAULT_PORT = 4998

Definition at line 13 of file __init__.py.

◆ DOMAIN

string homeassistant.components.gc100.DOMAIN = "gc100"

Definition at line 14 of file __init__.py.