mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02: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:
committed by
Aaron Bach
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(
|
||||||
|
Reference in New Issue
Block a user