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:
parent
2bdfa9928b
commit
1012215709
1 changed files with 1 additions and 0 deletions
|
@ -133,6 +133,7 @@ STATE_TYPES = {
|
|||
"TRIM": "Trimming Voltage",
|
||||
"BOOST": "Boosting Voltage",
|
||||
"FSD": "Forced Shutdown",
|
||||
"ALARM": "Alarm",
|
||||
}
|
||||
|
||||
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(
|
||||
|
|
Loading…
Add table
Reference in a new issue