Public Access
refactor(ups-hid): clean abstraction layers, strategy pattern for protocol selection and proper data structure
Signed-off-by: bullshit <coding@ow-software.pl>
This commit is contained in:
41 files changed
+4768
-3013
No files matched your search
@@ -94,6 +94,11 @@ SENSOR_TYPES = {
|
||||
"device_class": DEVICE_CLASS_DURATION,
|
||||
"accuracy_decimals": 0,
|
||||
},
|
||||
"ups_delay_reboot": {
|
||||
"unit": UNIT_SECOND,
|
||||
"device_class": DEVICE_CLASS_DURATION,
|
||||
"accuracy_decimals": 0,
|
||||
},
|
||||
# Additional missing sensor types from NUT analysis
|
||||
"battery_charge_low": {
|
||||
"unit": UNIT_PERCENT,
|
||||
|
||||
Reference in new issue
Block a user