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

Classes

class  ModbusHub
 

Functions

bool async_modbus_setup (HomeAssistant hass, ConfigType config)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 ConfEntry = namedtuple("ConfEntry", "call_type attr func_name")
 
list PB_CALL
 
 RunEntry = namedtuple("RunEntry", "attr func")
 

Detailed Description

Support for Modbus.

Function Documentation

◆ async_modbus_setup()

bool homeassistant.components.modbus.modbus.async_modbus_setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up Modbus component.

Definition at line 122 of file modbus.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 73 of file modbus.py.

◆ ConfEntry

homeassistant.components.modbus.modbus.ConfEntry = namedtuple("ConfEntry", "call_type attr func_name")

Definition at line 76 of file modbus.py.

◆ PB_CALL

list homeassistant.components.modbus.modbus.PB_CALL

Definition at line 78 of file modbus.py.

◆ RunEntry

homeassistant.components.modbus.modbus.RunEntry = namedtuple("RunEntry", "attr func")

Definition at line 77 of file modbus.py.