Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.itach.remote Namespace Reference

Classes

class  ITachIP2IRRemote
 

Functions

None setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string CONF_COMMANDS = "commands"
 
string CONF_CONNADDR = "connaddr"
 
string CONF_DATA = "data"
 
string CONF_IR_COUNT = "ir_count"
 
string CONF_MODADDR = "modaddr"
 
int CONNECT_TIMEOUT = 5000
 
int DEFAULT_CONNADDR = 1
 
int DEFAULT_IR_COUNT = 1
 
int DEFAULT_MODADDR = 1
 
int DEFAULT_PORT = 4998
 
 PLATFORM_SCHEMA
 

Detailed Description

Support for iTach IR devices.

Function Documentation

◆ setup_platform()

None homeassistant.components.itach.remote.setup_platform ( HomeAssistant  hass,
ConfigType  config,
AddEntitiesCallback  add_entities,
DiscoveryInfoType | None   discovery_info = None 
)
Set up the ITach connection and devices.

Definition at line 74 of file remote.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.itach.remote._LOGGER = logging.getLogger(__name__)
private

Definition at line 31 of file remote.py.

◆ CONF_COMMANDS

string homeassistant.components.itach.remote.CONF_COMMANDS = "commands"

Definition at line 41 of file remote.py.

◆ CONF_CONNADDR

string homeassistant.components.itach.remote.CONF_CONNADDR = "connaddr"

Definition at line 40 of file remote.py.

◆ CONF_DATA

string homeassistant.components.itach.remote.CONF_DATA = "data"

Definition at line 42 of file remote.py.

◆ CONF_IR_COUNT

string homeassistant.components.itach.remote.CONF_IR_COUNT = "ir_count"

Definition at line 43 of file remote.py.

◆ CONF_MODADDR

string homeassistant.components.itach.remote.CONF_MODADDR = "modaddr"

Definition at line 39 of file remote.py.

◆ CONNECT_TIMEOUT

int homeassistant.components.itach.remote.CONNECT_TIMEOUT = 5000

Definition at line 34 of file remote.py.

◆ DEFAULT_CONNADDR

int homeassistant.components.itach.remote.DEFAULT_CONNADDR = 1

Definition at line 36 of file remote.py.

◆ DEFAULT_IR_COUNT

int homeassistant.components.itach.remote.DEFAULT_IR_COUNT = 1

Definition at line 37 of file remote.py.

◆ DEFAULT_MODADDR

int homeassistant.components.itach.remote.DEFAULT_MODADDR = 1

Definition at line 35 of file remote.py.

◆ DEFAULT_PORT

int homeassistant.components.itach.remote.DEFAULT_PORT = 4998

Definition at line 33 of file remote.py.

◆ PLATFORM_SCHEMA

homeassistant.components.itach.remote.PLATFORM_SCHEMA
Initial value:
1 = REMOTE_PLATFORM_SCHEMA.extend(
2  {
3  vol.Optional(CONF_MAC): cv.string,
4  vol.Required(CONF_HOST): cv.string,
5  vol.Optional(CONF_PORT, default=DEFAULT_PORT): cv.port,
6  vol.Required(CONF_DEVICES): vol.All(
7  cv.ensure_list,
8  [
9  {
10  vol.Optional(CONF_NAME): cv.string,
11  vol.Optional(CONF_MODADDR): cv.positive_int,
12  vol.Required(CONF_CONNADDR): cv.positive_int,
13  vol.Optional(CONF_IR_COUNT): cv.positive_int,
14  vol.Required(CONF_COMMANDS): vol.All(
15  cv.ensure_list,
16  [
17  {
18  vol.Required(CONF_NAME): cv.string,
19  vol.Required(CONF_DATA): cv.string,
20  }
21  ],
22  ),
23  }
24  ],
25  ),
26  }
27 )

Definition at line 45 of file remote.py.