Update apcaccess to 0.0.13. Add "Percent Load Capacity" to INFERRED_UNITS. (#8277)

This commit is contained in:
Michaël Arnauts 2017-07-02 11:24:07 +02:00 committed by Fabian Affolter
parent 2b94857ffd
commit 47aa8c387a
3 changed files with 3 additions and 2 deletions

View File

@ -13,7 +13,7 @@ from homeassistant.const import (CONF_HOST, CONF_PORT)
import homeassistant.helpers.config_validation as cv
from homeassistant.util import Throttle
REQUIREMENTS = ['apcaccess==0.0.10']
REQUIREMENTS = ['apcaccess==0.0.13']
_LOGGER = logging.getLogger(__name__)

View File

@ -96,6 +96,7 @@ INFERRED_UNITS = {
' Watts': 'W',
' Hz': 'Hz',
' C': TEMP_CELSIUS,
' Percent Load Capacity': '%',
}
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({

View File

@ -68,7 +68,7 @@ amcrest==1.2.0
anthemav==1.1.8
# homeassistant.components.apcupsd
apcaccess==0.0.10
apcaccess==0.0.13
# homeassistant.components.notify.apns
apns2==0.1.1