Match ALARM in NUT UPS status message (#28591)

If ups.status contains "ALARM", add "Alarm" to virtual sensor ups.status.display.

Fixes #28580
This commit is contained in:
Brett T. Warden authored and Aaron Bach committed 2019-11-07 15:03:32 -07:00
1 parent 2bdfa9928b
commit 1012215709
1 file changed
+1
+1
View File
@@ -133,6 +133,7 @@ STATE_TYPES = {
"TRIM": "Trimming Voltage",
"BOOST": "Boosting Voltage",
"FSD": "Forced Shutdown",
"ALARM": "Alarm",
}
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(