Home Assistant Unofficial Reference 2024.12.1
__init__.py File Reference

Go to the source code of this file.

Namespaces

 homeassistant.components.modbus
 

Functions

None homeassistant.components.modbus.async_reset_platform (HomeAssistant hass, str integration_name)
 
bool homeassistant.components.modbus.async_setup (HomeAssistant hass, ConfigType config)
 
ModbusHub homeassistant.components.modbus.get_hub (HomeAssistant hass, str name)
 

Variables

 homeassistant.components.modbus._LOGGER = logging.getLogger(__name__)
 
 homeassistant.components.modbus.BASE_COMPONENT_SCHEMA
 
 homeassistant.components.modbus.BASE_SCHEMA = vol.Schema({vol.Optional(CONF_NAME, default=DEFAULT_HUB): cv.string})
 
 homeassistant.components.modbus.BASE_STRUCT_SCHEMA
 
 homeassistant.components.modbus.BASE_SWITCH_SCHEMA
 
 homeassistant.components.modbus.BINARY_SENSOR_SCHEMA
 
 homeassistant.components.modbus.CLIMATE_SCHEMA
 
 homeassistant.components.modbus.CONFIG_SCHEMA
 
 homeassistant.components.modbus.COVERS_SCHEMA
 
 homeassistant.components.modbus.ETHERNET_SCHEMA
 
 homeassistant.components.modbus.FAN_SCHEMA = BASE_SWITCH_SCHEMA.extend({})
 
 homeassistant.components.modbus.LIGHT_SCHEMA = BASE_SWITCH_SCHEMA.extend({})
 
 homeassistant.components.modbus.MODBUS_SCHEMA
 
 homeassistant.components.modbus.SENSOR_SCHEMA
 
 homeassistant.components.modbus.SERIAL_SCHEMA
 
 homeassistant.components.modbus.SWITCH_SCHEMA