mirror of
https://github.com/home-assistant/core.git
synced 2025-04-30 20:27:57 +00:00
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
@ -133,6 +133,7 @@ STATE_TYPES = {
|
||||
"TRIM": "Trimming Voltage",
|
||||
"BOOST": "Boosting Voltage",
|
||||
"FSD": "Forced Shutdown",
|
||||
"ALARM": "Alarm",
|
||||
}
|
||||
|
||||
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(
|
||||
|
Loading…
x
Reference in New Issue
Block a user