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

Variables

string COMMAND_BEEPER_DISABLE = "beeper.disable"
 
string COMMAND_BEEPER_ENABLE = "beeper.enable"
 
string COMMAND_BEEPER_MUTE = "beeper.mute"
 
string COMMAND_BEEPER_TOGGLE = "beeper.toggle"
 
string COMMAND_BYPASS_START = "bypass.start"
 
string COMMAND_BYPASS_STOP = "bypass.stop"
 
string COMMAND_CALIBRATE_START = "calibrate.start"
 
string COMMAND_CALIBRATE_STOP = "calibrate.stop"
 
string COMMAND_LOAD_OFF = "load.off"
 
string COMMAND_LOAD_ON = "load.on"
 
string COMMAND_RESET_INPUT_MINMAX = "reset.input.minmax"
 
string COMMAND_RESET_WATCHDOG = "reset.watchdog"
 
string COMMAND_SHUTDOWN_REBOOT = "shutdown.reboot"
 
string COMMAND_SHUTDOWN_REBOOT_GRACEFUL = "shutdown.reboot.graceful"
 
string COMMAND_SHUTDOWN_RETURN = "shutdown.return"
 
string COMMAND_SHUTDOWN_STAYOFF = "shutdown.stayoff"
 
string COMMAND_SHUTDOWN_STOP = "shutdown.stop"
 
string COMMAND_TEST_BATTERY_START = "test.battery.start"
 
string COMMAND_TEST_BATTERY_START_DEEP = "test.battery.start.deep"
 
string COMMAND_TEST_BATTERY_START_QUICK = "test.battery.start.quick"
 
string COMMAND_TEST_BATTERY_STOP = "test.battery.stop"
 
string COMMAND_TEST_FAILURE_START = "test.failure.start"
 
string COMMAND_TEST_FAILURE_STOP = "test.failure.stop"
 
string COMMAND_TEST_PANEL_START = "test.panel.start"
 
string COMMAND_TEST_PANEL_STOP = "test.panel.stop"
 
string COMMAND_TEST_SYSTEM_START = "test.system.start"
 
string DEFAULT_HOST = "localhost"
 
string DEFAULT_NAME = "NUT UPS"
 
int DEFAULT_PORT = 3493
 
int DEFAULT_SCAN_INTERVAL = 60
 
string DOMAIN = "nut"
 
dictionary INTEGRATION_SUPPORTED_COMMANDS
 
string KEY_STATUS = "ups.status"
 
string KEY_STATUS_DISPLAY = "ups.status.display"
 
list PLATFORMS = [Platform.SENSOR]
 
dictionary STATE_TYPES
 

Detailed Description

The nut component.

Variable Documentation

◆ COMMAND_BEEPER_DISABLE

string homeassistant.components.nut.const.COMMAND_BEEPER_DISABLE = "beeper.disable"

Definition at line 40 of file const.py.

◆ COMMAND_BEEPER_ENABLE

string homeassistant.components.nut.const.COMMAND_BEEPER_ENABLE = "beeper.enable"

Definition at line 41 of file const.py.

◆ COMMAND_BEEPER_MUTE

string homeassistant.components.nut.const.COMMAND_BEEPER_MUTE = "beeper.mute"

Definition at line 42 of file const.py.

◆ COMMAND_BEEPER_TOGGLE

string homeassistant.components.nut.const.COMMAND_BEEPER_TOGGLE = "beeper.toggle"

Definition at line 43 of file const.py.

◆ COMMAND_BYPASS_START

string homeassistant.components.nut.const.COMMAND_BYPASS_START = "bypass.start"

Definition at line 44 of file const.py.

◆ COMMAND_BYPASS_STOP

string homeassistant.components.nut.const.COMMAND_BYPASS_STOP = "bypass.stop"

Definition at line 45 of file const.py.

◆ COMMAND_CALIBRATE_START

string homeassistant.components.nut.const.COMMAND_CALIBRATE_START = "calibrate.start"

Definition at line 46 of file const.py.

◆ COMMAND_CALIBRATE_STOP

string homeassistant.components.nut.const.COMMAND_CALIBRATE_STOP = "calibrate.stop"

Definition at line 47 of file const.py.

◆ COMMAND_LOAD_OFF

string homeassistant.components.nut.const.COMMAND_LOAD_OFF = "load.off"

Definition at line 48 of file const.py.

◆ COMMAND_LOAD_ON

string homeassistant.components.nut.const.COMMAND_LOAD_ON = "load.on"

Definition at line 49 of file const.py.

◆ COMMAND_RESET_INPUT_MINMAX

string homeassistant.components.nut.const.COMMAND_RESET_INPUT_MINMAX = "reset.input.minmax"

Definition at line 50 of file const.py.

◆ COMMAND_RESET_WATCHDOG

string homeassistant.components.nut.const.COMMAND_RESET_WATCHDOG = "reset.watchdog"

Definition at line 51 of file const.py.

◆ COMMAND_SHUTDOWN_REBOOT

string homeassistant.components.nut.const.COMMAND_SHUTDOWN_REBOOT = "shutdown.reboot"

Definition at line 52 of file const.py.

◆ COMMAND_SHUTDOWN_REBOOT_GRACEFUL

string homeassistant.components.nut.const.COMMAND_SHUTDOWN_REBOOT_GRACEFUL = "shutdown.reboot.graceful"

Definition at line 53 of file const.py.

◆ COMMAND_SHUTDOWN_RETURN

string homeassistant.components.nut.const.COMMAND_SHUTDOWN_RETURN = "shutdown.return"

Definition at line 54 of file const.py.

◆ COMMAND_SHUTDOWN_STAYOFF

string homeassistant.components.nut.const.COMMAND_SHUTDOWN_STAYOFF = "shutdown.stayoff"

Definition at line 55 of file const.py.

◆ COMMAND_SHUTDOWN_STOP

string homeassistant.components.nut.const.COMMAND_SHUTDOWN_STOP = "shutdown.stop"

Definition at line 56 of file const.py.

◆ COMMAND_TEST_BATTERY_START

string homeassistant.components.nut.const.COMMAND_TEST_BATTERY_START = "test.battery.start"

Definition at line 57 of file const.py.

◆ COMMAND_TEST_BATTERY_START_DEEP

string homeassistant.components.nut.const.COMMAND_TEST_BATTERY_START_DEEP = "test.battery.start.deep"

Definition at line 58 of file const.py.

◆ COMMAND_TEST_BATTERY_START_QUICK

string homeassistant.components.nut.const.COMMAND_TEST_BATTERY_START_QUICK = "test.battery.start.quick"

Definition at line 59 of file const.py.

◆ COMMAND_TEST_BATTERY_STOP

string homeassistant.components.nut.const.COMMAND_TEST_BATTERY_STOP = "test.battery.stop"

Definition at line 60 of file const.py.

◆ COMMAND_TEST_FAILURE_START

string homeassistant.components.nut.const.COMMAND_TEST_FAILURE_START = "test.failure.start"

Definition at line 61 of file const.py.

◆ COMMAND_TEST_FAILURE_STOP

string homeassistant.components.nut.const.COMMAND_TEST_FAILURE_STOP = "test.failure.stop"

Definition at line 62 of file const.py.

◆ COMMAND_TEST_PANEL_START

string homeassistant.components.nut.const.COMMAND_TEST_PANEL_START = "test.panel.start"

Definition at line 63 of file const.py.

◆ COMMAND_TEST_PANEL_STOP

string homeassistant.components.nut.const.COMMAND_TEST_PANEL_STOP = "test.panel.stop"

Definition at line 64 of file const.py.

◆ COMMAND_TEST_SYSTEM_START

string homeassistant.components.nut.const.COMMAND_TEST_SYSTEM_START = "test.system.start"

Definition at line 65 of file const.py.

◆ DEFAULT_HOST

string homeassistant.components.nut.const.DEFAULT_HOST = "localhost"

Definition at line 12 of file const.py.

◆ DEFAULT_NAME

string homeassistant.components.nut.const.DEFAULT_NAME = "NUT UPS"

Definition at line 11 of file const.py.

◆ DEFAULT_PORT

int homeassistant.components.nut.const.DEFAULT_PORT = 3493

Definition at line 13 of file const.py.

◆ DEFAULT_SCAN_INTERVAL

int homeassistant.components.nut.const.DEFAULT_SCAN_INTERVAL = 60

Definition at line 18 of file const.py.

◆ DOMAIN

string homeassistant.components.nut.const.DOMAIN = "nut"

Definition at line 7 of file const.py.

◆ INTEGRATION_SUPPORTED_COMMANDS

dictionary homeassistant.components.nut.const.INTEGRATION_SUPPORTED_COMMANDS
Initial value:
1 = {
2  COMMAND_BEEPER_DISABLE,
3  COMMAND_BEEPER_ENABLE,
4  COMMAND_BEEPER_MUTE,
5  COMMAND_BEEPER_TOGGLE,
6  COMMAND_BYPASS_START,
7  COMMAND_BYPASS_STOP,
8  COMMAND_CALIBRATE_START,
9  COMMAND_CALIBRATE_STOP,
10  COMMAND_LOAD_OFF,
11  COMMAND_LOAD_ON,
12  COMMAND_RESET_INPUT_MINMAX,
13  COMMAND_RESET_WATCHDOG,
14  COMMAND_SHUTDOWN_REBOOT,
15  COMMAND_SHUTDOWN_REBOOT_GRACEFUL,
16  COMMAND_SHUTDOWN_RETURN,
17  COMMAND_SHUTDOWN_STAYOFF,
18  COMMAND_SHUTDOWN_STOP,
19  COMMAND_TEST_BATTERY_START,
20  COMMAND_TEST_BATTERY_START_DEEP,
21  COMMAND_TEST_BATTERY_START_QUICK,
22  COMMAND_TEST_BATTERY_STOP,
23  COMMAND_TEST_FAILURE_START,
24  COMMAND_TEST_FAILURE_STOP,
25  COMMAND_TEST_PANEL_START,
26  COMMAND_TEST_PANEL_STOP,
27  COMMAND_TEST_SYSTEM_START,
28 }

Definition at line 67 of file const.py.

◆ KEY_STATUS

string homeassistant.components.nut.const.KEY_STATUS = "ups.status"

Definition at line 15 of file const.py.

◆ KEY_STATUS_DISPLAY

string homeassistant.components.nut.const.KEY_STATUS_DISPLAY = "ups.status.display"

Definition at line 16 of file const.py.

◆ PLATFORMS

list homeassistant.components.nut.const.PLATFORMS = [Platform.SENSOR]

Definition at line 9 of file const.py.

◆ STATE_TYPES

dictionary homeassistant.components.nut.const.STATE_TYPES
Initial value:
1 = {
2  "OL": "Online",
3  "OB": "On Battery",
4  "LB": "Low Battery",
5  "HB": "High Battery",
6  "RB": "Battery Needs Replacement",
7  "CHRG": "Battery Charging",
8  "DISCHRG": "Battery Discharging",
9  "BYPASS": "Bypass Active",
10  "CAL": "Runtime Calibration",
11  "OFF": "Offline",
12  "OVER": "Overloaded",
13  "TRIM": "Trimming Voltage",
14  "BOOST": "Boosting Voltage",
15  "FSD": "Forced Shutdown",
16  "ALARM": "Alarm",
17  "HE": "ECO Mode",
18  "TEST": "Battery Testing",
19 }

Definition at line 20 of file const.py.