mirror of
https://forgejo.altau.su/lego/lego-monitoring.git
synced 2026-03-10 04:41:10 +00:00
add missing ups statuses
This commit is contained in:
parent
17e5d1be0c
commit
983caffc10
1 changed files with 4 additions and 3 deletions
|
|
@ -2,8 +2,7 @@ from enum import StrEnum
|
|||
|
||||
|
||||
class UPSStatus(StrEnum):
|
||||
"""https://networkupstools.org/docs/developer-guide.chunked/new-drivers.html#_status_data
|
||||
"""
|
||||
"""https://networkupstools.org/docs/developer-guide.chunked/new-drivers.html#_status_data"""
|
||||
|
||||
ON_LINE = "OL"
|
||||
ON_BATTERY = "OB"
|
||||
|
|
@ -17,4 +16,6 @@ class UPSStatus(StrEnum):
|
|||
UPS_OFFLINE = "OFF"
|
||||
UPS_OVERLOAD = "OVER"
|
||||
UPS_CALIBRATION = "CAL"
|
||||
|
||||
UPS_TRIM = "TRIM"
|
||||
UPS_BOOST = "BOOST"
|
||||
UPS_FSD = "FSD"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue