From 2b86059fd0e8c6417d79f4e75faa92e3a5fb3da9 Mon Sep 17 00:00:00 2001 From: Sean Wilson Date: Mon, 9 Apr 2018 13:38:57 -0400 Subject: [PATCH] Add missing DISCHRG state (#13787) * Add missing ups.status states. * Add missing DISCHRG state. --- homeassistant/components/sensor/nut.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/sensor/nut.py b/homeassistant/components/sensor/nut.py index e0d5b7250e9..b8917080efc 100644 --- a/homeassistant/components/sensor/nut.py +++ b/homeassistant/components/sensor/nut.py @@ -113,6 +113,7 @@ STATE_TYPES = { 'HB': 'High Battery', 'RB': 'Battery Needs Replaced', 'CHRG': 'Battery Charging', + 'DISCHRG': 'Battery Discharging', 'BYPASS': 'Bypass Active', 'CAL': 'Runtime Calibration', 'OFF': 'Offline',