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

Classes

class  ModbusBinarySensor
 
class  SlaveSensor
 

Functions

None async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
int PARALLEL_UPDATES = 1
 

Detailed Description

Support for Modbus Coil and Discrete Input sensors.

Function Documentation

◆ async_setup_platform()

None homeassistant.components.modbus.binary_sensor.async_setup_platform ( HomeAssistant  hass,
ConfigType  config,
AddEntitiesCallback  async_add_entities,
DiscoveryInfoType | None   discovery_info = None 
)
Set up the Modbus binary sensors.

Definition at line 41 of file binary_sensor.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 36 of file binary_sensor.py.

◆ PARALLEL_UPDATES

int homeassistant.components.modbus.binary_sensor.PARALLEL_UPDATES = 1

Definition at line 38 of file binary_sensor.py.