Classes | |
| class | BinarySensorGroup |
Functions | |
| BinarySensorGroup | async_create_preview_binary_sensor (HomeAssistant hass, str name, dict[str, Any] validated_config) |
| None | async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities) |
| None | async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None) |
Variables | |
| string | CONF_ALL = "all" |
| string | DEFAULT_NAME = "Binary Sensor Group" |
| PLATFORM_SCHEMA | |
| string | REG_KEY = f"{BINARY_SENSOR_DOMAIN}_registry" |
Platform allowing several binary sensor to be grouped into one binary sensor.
| BinarySensorGroup homeassistant.components.group.binary_sensor.async_create_preview_binary_sensor | ( | HomeAssistant | hass, |
| str | name, | ||
| dict[str, Any] | validated_config | ||
| ) |
Create a preview sensor.
Definition at line 92 of file binary_sensor.py.
| None homeassistant.components.group.binary_sensor.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | config_entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
Initialize Binary Sensor Group config entry.
Definition at line 70 of file binary_sensor.py.
| None homeassistant.components.group.binary_sensor.async_setup_platform | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| AddEntitiesCallback | async_add_entities, | ||
| DiscoveryInfoType | None | discovery_info = None |
||
| ) |
Set up the Binary Sensor Group platform.
Definition at line 50 of file binary_sensor.py.
| string homeassistant.components.group.binary_sensor.CONF_ALL = "all" |
Definition at line 36 of file binary_sensor.py.
| string homeassistant.components.group.binary_sensor.DEFAULT_NAME = "Binary Sensor Group" |
Definition at line 34 of file binary_sensor.py.
| homeassistant.components.group.binary_sensor.PLATFORM_SCHEMA |
Definition at line 39 of file binary_sensor.py.
| string homeassistant.components.group.binary_sensor.REG_KEY = f"{BINARY_SENSOR_DOMAIN}_registry" |
Definition at line 37 of file binary_sensor.py.