Skip to content

Commit

Permalink
Match ALARM in NUT UPS status message (#28591)
Browse files Browse the repository at this point in the history
If ups.status contains "ALARM", add "Alarm" to virtual sensor ups.status.display.

Fixes #28580
  • Loading branch information
bwarden authored and bachya committed Nov 7, 2019
1 parent 2bdfa99 commit 1012215
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions homeassistant/components/nut/sensor.py
Expand Up @@ -133,6 +133,7 @@
"TRIM": "Trimming Voltage",
"BOOST": "Boosting Voltage",
"FSD": "Forced Shutdown",
"ALARM": "Alarm",
}

PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(
Expand Down

0 comments on commit 1012215

Please sign in to comment.