Classes | |
| class | BaseProtectSensor |
| class | ProtectDeviceSensor |
| class | ProtectEventSensor |
| class | ProtectLicensePlateEventSensor |
| class | ProtectNVRSensor |
| class | ProtectSensorEntityDescription |
| class | ProtectSensorEventEntityDescription |
Functions | |
| list[ProtectDeviceEntity] | _async_event_entities (ProtectData data, Camera|None ufp_device=None) |
| list[BaseProtectEntity] | _async_nvr_entities (ProtectData data) |
| str | _get_alarm_sound (Sensor obj) |
| float|None | _get_nvr_memory (NVR obj) |
| int | _get_nvr_recording_capacity (NVR obj) |
| datetime|None | _get_uptime (ProtectDeviceModel obj) |
| None | async_setup_entry (HomeAssistant hass, UFPConfigEntry entry, AddEntitiesCallback async_add_entities) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| string | OBJECT_TYPE_NONE = "none" |
Component providing sensors for UniFi Protect.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| None homeassistant.components.unifiprotect.sensor.async_setup_entry | ( | HomeAssistant | hass, |
| UFPConfigEntry | entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
|
private |