Namespaces | |
| device_condition | |
| device_trigger | |
| significant_change | |
Classes | |
| class | BinarySensorDeviceClass |
| class | BinarySensorEntity |
| class | BinarySensorEntityDescription |
Functions | |
| bool | async_setup (HomeAssistant hass, ConfigType config) |
| bool | async_setup_entry (HomeAssistant hass, ConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry entry) |
Component to interface with binary sensors.
| bool homeassistant.components.binary_sensor.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Track states and offer events for binary sensors.
Definition at line 221 of file __init__.py.
| bool homeassistant.components.binary_sensor.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Set up a config entry.
Definition at line 231 of file __init__.py.
| bool homeassistant.components.binary_sensor.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 236 of file __init__.py.
|
private |
Definition at line 304 of file __init__.py.
|
private |
Definition at line 301 of file __init__.py.
|
private |
Definition at line 300 of file __init__.py.
|
private |
Definition at line 133 of file __init__.py.
|
private |
Definition at line 136 of file __init__.py.
|
private |
Definition at line 139 of file __init__.py.
|
private |
Definition at line 142 of file __init__.py.
|
private |
Definition at line 145 of file __init__.py.
|
private |
Definition at line 148 of file __init__.py.
|
private |
Definition at line 151 of file __init__.py.
|
private |
Definition at line 154 of file __init__.py.
|
private |
Definition at line 157 of file __init__.py.
|
private |
Definition at line 160 of file __init__.py.
|
private |
Definition at line 163 of file __init__.py.
|
private |
Definition at line 166 of file __init__.py.
|
private |
Definition at line 169 of file __init__.py.
|
private |
Definition at line 172 of file __init__.py.
|
private |
Definition at line 175 of file __init__.py.
|
private |
Definition at line 178 of file __init__.py.
|
private |
Definition at line 181 of file __init__.py.
|
private |
Definition at line 184 of file __init__.py.
|
private |
Definition at line 187 of file __init__.py.
|
private |
Definition at line 190 of file __init__.py.
|
private |
Definition at line 193 of file __init__.py.
|
private |
Definition at line 196 of file __init__.py.
|
private |
Definition at line 199 of file __init__.py.
|
private |
Definition at line 202 of file __init__.py.
|
private |
Definition at line 205 of file __init__.py.
|
private |
Definition at line 208 of file __init__.py.
|
private |
Definition at line 211 of file __init__.py.
|
private |
Definition at line 214 of file __init__.py.
|
private |
Definition at line 30 of file __init__.py.
| dictionary homeassistant.components.binary_sensor.CACHED_PROPERTIES_WITH_ATTR_ |
Definition at line 247 of file __init__.py.
| list homeassistant.components.binary_sensor.DEVICE_CLASSES = [cls.value for cls in BinarySensorDeviceClass] |
Definition at line 132 of file __init__.py.
| homeassistant.components.binary_sensor.DEVICE_CLASSES_SCHEMA = vol.All(vol.Lower, vol.Coerce(BinarySensorDeviceClass)) |
Definition at line 128 of file __init__.py.
| string homeassistant.components.binary_sensor.DOMAIN = "binary_sensor" |
Definition at line 32 of file __init__.py.
| string homeassistant.components.binary_sensor.ENTITY_ID_FORMAT = DOMAIN + ".{}" |
Definition at line 34 of file __init__.py.
| homeassistant.components.binary_sensor.PLATFORM_SCHEMA = cv.PLATFORM_SCHEMA |
Definition at line 35 of file __init__.py.
| homeassistant.components.binary_sensor.PLATFORM_SCHEMA_BASE = cv.PLATFORM_SCHEMA_BASE |
Definition at line 36 of file __init__.py.
| homeassistant.components.binary_sensor.SCAN_INTERVAL = timedelta(seconds=30) |
Definition at line 37 of file __init__.py.