Public Member Functions | |
| None | __post_init__ (self) |
Public Member Functions inherited from homeassistant.components.unifiprotect.entity.ProtectEntityDescription | |
| Any | get_ufp_value (self, T obj) |
Public Member Functions inherited from homeassistant.util.frozen_dataclass_compat.FrozenOrThawed | |
| None | __init__ (cls, str name, tuple[type,...] bases, dict[Any, Any] namespace, **Any kwargs) |
| Any | __new__ (mcs, str name, tuple[type,...] bases, dict[Any, Any] namespace, bool frozen_or_thawed=False, **Any kwargs) |
Static Public Attributes | |
| None | |
Static Public Attributes inherited from homeassistant.components.unifiprotect.entity.ProtectEntityDescription | |
| None | |
Static Public Attributes inherited from homeassistant.helpers.entity.EntityDescription | |
| bool | |
| None | |
Static Public Attributes inherited from homeassistant.components.sensor.SensorEntityDescription | |
| None | |
Private Member Functions | |
| Any | _rounded_value (self, int precision, Callable[[T], Any] getter, T obj) |
| None homeassistant.components.unifiprotect.sensor.ProtectSensorEntityDescription.__post_init__ | ( | self | ) |
Ensure values are rounded if precision is set.
Reimplemented from homeassistant.components.unifiprotect.entity.ProtectEntityDescription.
|
private |
|
static |