Classes | |
| class | MountableProtectDeviceBinarySensor |
| class | ProtectBinaryEntityDescription |
| class | ProtectBinaryEventEntityDescription |
| class | ProtectDeviceBinarySensor |
| class | ProtectDiskBinarySensor |
| class | ProtectEventBinarySensor |
Functions | |
| list[ProtectDeviceEntity] | _async_event_entities (ProtectData data, ProtectAdoptableDeviceModel|None ufp_device=None) |
| list[BaseProtectEntity] | _async_nvr_entities (ProtectData data) |
| None | async_setup_entry (HomeAssistant hass, UFPConfigEntry entry, AddEntitiesCallback async_add_entities) |
Variables | |
| string | _KEY_DOOR = "door" |
| tuple | MODEL_DESCRIPTIONS_WITH_CLASS |
| dictionary | MOUNT_DEVICE_CLASS_MAP |
Component providing binary sensors for UniFi Protect.
|
private |
Definition at line 740 of file binary_sensor.py.
|
private |
Definition at line 755 of file binary_sensor.py.
| None homeassistant.components.unifiprotect.binary_sensor.async_setup_entry | ( | HomeAssistant | hass, |
| UFPConfigEntry | entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
Set up binary sensors for UniFi Protect integration.
Definition at line 769 of file binary_sensor.py.
|
private |
Definition at line 41 of file binary_sensor.py.
| tuple homeassistant.components.unifiprotect.binary_sensor.MODEL_DESCRIPTIONS_WITH_CLASS |
Definition at line 733 of file binary_sensor.py.
| dictionary homeassistant.components.unifiprotect.binary_sensor.MOUNT_DEVICE_CLASS_MAP |
Definition at line 58 of file binary_sensor.py.