mirror of
https://github.com/home-assistant/core.git
synced 2025-05-01 12:47:53 +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",
|
"TRIM": "Trimming Voltage",
|
||||||
"BOOST": "Boosting Voltage",
|
"BOOST": "Boosting Voltage",
|
||||||
"FSD": "Forced Shutdown",
|
"FSD": "Forced Shutdown",
|
||||||
|
"ALARM": "Alarm",
|
||||||
}
|
}
|
||||||
|
|
||||||
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(
|
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user