Namespaces | |
| binary_sensor | |
| climate | |
| const | |
| cover | |
| entity | |
| fan | |
| light | |
| modbus | |
| sensor | |
| switch | |
| validators | |
Functions | |
| None | async_reset_platform (HomeAssistant hass, str integration_name) |
| bool | async_setup (HomeAssistant hass, ConfigType config) |
| ModbusHub | get_hub (HomeAssistant hass, str name) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| BASE_COMPONENT_SCHEMA | |
| BASE_SCHEMA = vol.Schema({vol.Optional(CONF_NAME, default=DEFAULT_HUB): cv.string}) | |
| BASE_STRUCT_SCHEMA | |
| BASE_SWITCH_SCHEMA | |
| BINARY_SENSOR_SCHEMA | |
| CLIMATE_SCHEMA | |
| CONFIG_SCHEMA | |
| COVERS_SCHEMA | |
| ETHERNET_SCHEMA | |
| FAN_SCHEMA = BASE_SWITCH_SCHEMA.extend({}) | |
| LIGHT_SCHEMA = BASE_SWITCH_SCHEMA.extend({}) | |
| MODBUS_SCHEMA | |
| SENSOR_SCHEMA | |
| SERIAL_SCHEMA | |
| SWITCH_SCHEMA | |
Support for Modbus.
| None homeassistant.components.modbus.async_reset_platform | ( | HomeAssistant | hass, |
| str | integration_name | ||
| ) |
Release modbus resources.
Definition at line 460 of file __init__.py.
| bool homeassistant.components.modbus.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up Modbus component.
Definition at line 450 of file __init__.py.
| ModbusHub homeassistant.components.modbus.get_hub | ( | HomeAssistant | hass, |
| str | name | ||
| ) |
Return modbus hub with name.
Definition at line 445 of file __init__.py.
|
private |
Definition at line 148 of file __init__.py.
| homeassistant.components.modbus.BASE_COMPONENT_SCHEMA |
Definition at line 154 of file __init__.py.
| homeassistant.components.modbus.BASE_SCHEMA = vol.Schema({vol.Optional(CONF_NAME, default=DEFAULT_HUB): cv.string}) |
Definition at line 151 of file __init__.py.
| homeassistant.components.modbus.BASE_STRUCT_SCHEMA |
Definition at line 168 of file __init__.py.
| homeassistant.components.modbus.BASE_SWITCH_SCHEMA |
Definition at line 209 of file __init__.py.
| homeassistant.components.modbus.BINARY_SENSOR_SCHEMA |
Definition at line 374 of file __init__.py.
| homeassistant.components.modbus.CLIMATE_SCHEMA |
Definition at line 245 of file __init__.py.
| homeassistant.components.modbus.CONFIG_SCHEMA |
Definition at line 432 of file __init__.py.
| homeassistant.components.modbus.COVERS_SCHEMA |
Definition at line 324 of file __init__.py.
| homeassistant.components.modbus.ETHERNET_SCHEMA |
Definition at line 424 of file __init__.py.
| homeassistant.components.modbus.FAN_SCHEMA = BASE_SWITCH_SCHEMA.extend({}) |
Definition at line 356 of file __init__.py.
| homeassistant.components.modbus.LIGHT_SCHEMA = BASE_SWITCH_SCHEMA.extend({}) |
Definition at line 354 of file __init__.py.
| homeassistant.components.modbus.MODBUS_SCHEMA |
Definition at line 390 of file __init__.py.
| homeassistant.components.modbus.SENSOR_SCHEMA |
Definition at line 358 of file __init__.py.
| homeassistant.components.modbus.SERIAL_SCHEMA |
Definition at line 412 of file __init__.py.
| homeassistant.components.modbus.SWITCH_SCHEMA |
Definition at line 348 of file __init__.py.