Namespaces | |
| config_flow | |
| const | |
| device_action | |
| diagnostics | |
| sensor | |
Classes | |
| class | NUTDeviceInfo |
| class | NutRuntimeData |
| class | PyNUTData |
Functions | |
| None | _async_update_listener (HomeAssistant hass, ConfigEntry entry) |
| str|None | _firmware_from_status (dict[str, str] status) |
| str|None | _manufacturer_from_status (dict[str, str] status) |
| str|None | _model_from_status (dict[str, str] status) |
| str|None | _serial_from_status (dict[str, str] status) |
| str|None | _unique_id_from_status (dict[str, str] status) |
| bool | async_setup_entry (HomeAssistant hass, NutConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry entry) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| list | NUT_FAKE_SERIAL = ["unknown", "blank"] |
| NutConfigEntry | |
The nut component.
|
private |
Handle options update.
Definition at line 149 of file __init__.py.
|
private |
Find the best firmware value from the status.
Definition at line 173 of file __init__.py.
|
private |
Find the best manufacturer value from the status.
Definition at line 154 of file __init__.py.
|
private |
Find the best model value from the status.
Definition at line 164 of file __init__.py.
|
private |
Find the best serial value from the status.
Definition at line 178 of file __init__.py.
|
private |
Find the best unique id value from the status.
Definition at line 188 of file __init__.py.
| bool homeassistant.components.nut.async_setup_entry | ( | HomeAssistant | hass, |
| NutConfigEntry | entry | ||
| ) |
Set up Network UPS Tools (NUT) from a config entry.
Definition at line 52 of file __init__.py.
| bool homeassistant.components.nut.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 144 of file __init__.py.
|
private |
Definition at line 37 of file __init__.py.
| list homeassistant.components.nut.NUT_FAKE_SERIAL = ["unknown", "blank"] |
Definition at line 35 of file __init__.py.
| homeassistant.components.nut.NutConfigEntry |
Definition at line 39 of file __init__.py.