Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.nut Namespace Reference

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
 

Detailed Description

The nut component.

Function Documentation

◆ _async_update_listener()

None homeassistant.components.nut._async_update_listener ( HomeAssistant  hass,
ConfigEntry  entry 
)
private
Handle options update.

Definition at line 149 of file __init__.py.

◆ _firmware_from_status()

str | None homeassistant.components.nut._firmware_from_status ( dict[str, str]  status)
private
Find the best firmware value from the status.

Definition at line 173 of file __init__.py.

◆ _manufacturer_from_status()

str | None homeassistant.components.nut._manufacturer_from_status ( dict[str, str]  status)
private
Find the best manufacturer value from the status.

Definition at line 154 of file __init__.py.

◆ _model_from_status()

str | None homeassistant.components.nut._model_from_status ( dict[str, str]  status)
private
Find the best model value from the status.

Definition at line 164 of file __init__.py.

◆ _serial_from_status()

str | None homeassistant.components.nut._serial_from_status ( dict[str, str]  status)
private
Find the best serial value from the status.

Definition at line 178 of file __init__.py.

◆ _unique_id_from_status()

str | None homeassistant.components.nut._unique_id_from_status ( dict[str, str]  status)
private
Find the best unique id value from the status.

Definition at line 188 of file __init__.py.

◆ async_setup_entry()

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.

◆ async_unload_entry()

bool homeassistant.components.nut.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload a config entry.

Definition at line 144 of file __init__.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.nut._LOGGER = logging.getLogger(__name__)
private

Definition at line 37 of file __init__.py.

◆ NUT_FAKE_SERIAL

list homeassistant.components.nut.NUT_FAKE_SERIAL = ["unknown", "blank"]

Definition at line 35 of file __init__.py.

◆ NutConfigEntry

homeassistant.components.nut.NutConfigEntry

Definition at line 39 of file __init__.py.