Classes | |
| class | OneWireBinarySensor |
| class | OneWireBinarySensorEntityDescription |
Functions | |
| None | async_setup_entry (HomeAssistant hass, OneWireConfigEntry config_entry, AddEntitiesCallback async_add_entities) |
| list[OneWireBinarySensor] | get_entities (OneWireHub onewire_hub) |
| dict[str, tuple[OneWireBinarySensorEntityDescription,...]] | get_sensor_types (str device_sub_type) |
Support for 1-Wire binary sensors.
| None homeassistant.components.onewire.binary_sensor.async_setup_entry | ( | HomeAssistant | hass, |
| OneWireConfigEntry | config_entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
Set up 1-Wire platform.
Definition at line 90 of file binary_sensor.py.
| list[OneWireBinarySensor] homeassistant.components.onewire.binary_sensor.get_entities | ( | OneWireHub | onewire_hub | ) |
Get a list of entities.
Definition at line 102 of file binary_sensor.py.
| dict[str, tuple[OneWireBinarySensorEntityDescription, ...]] homeassistant.components.onewire.binary_sensor.get_sensor_types | ( | str | device_sub_type | ) |
Return the proper info array for the device type.
Definition at line 81 of file binary_sensor.py.