Classes | |
| class | APCUPSdSensor |
Functions | |
| None | async_setup_entry (HomeAssistant hass, APCUPSdConfigEntry config_entry, AddEntitiesCallback async_add_entities) |
| tuple[str, str|None] | infer_unit (str value) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| device_class | |
| entity_registry_enabled_default | |
| dictionary | INFERRED_UNITS |
| key | |
| native_unit_of_measurement | |
| int | PARALLEL_UPDATES = 0 |
| state_class | |
| translation_key | |
Support for APCUPSd sensors.
| None homeassistant.components.apcupsd.sensor.async_setup_entry | ( | HomeAssistant | hass, |
| APCUPSdConfigEntry | config_entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
| tuple[str, str | None] homeassistant.components.apcupsd.sensor.infer_unit | ( | str | value | ) |
|
private |
| homeassistant.components.apcupsd.sensor.entity_registry_enabled_default |
| dictionary homeassistant.components.apcupsd.sensor.INFERRED_UNITS |
| homeassistant.components.apcupsd.sensor.native_unit_of_measurement |
| int homeassistant.components.apcupsd.sensor.PARALLEL_UPDATES = 0 |