mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Update apcaccess to 0.0.13. Add "Percent Load Capacity" to INFERRED_UNITS. (#8277)
This commit is contained in:
parent
2b94857ffd
commit
47aa8c387a
@ -13,7 +13,7 @@ from homeassistant.const import (CONF_HOST, CONF_PORT)
|
|||||||
import homeassistant.helpers.config_validation as cv
|
import homeassistant.helpers.config_validation as cv
|
||||||
from homeassistant.util import Throttle
|
from homeassistant.util import Throttle
|
||||||
|
|
||||||
REQUIREMENTS = ['apcaccess==0.0.10']
|
REQUIREMENTS = ['apcaccess==0.0.13']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -96,6 +96,7 @@ INFERRED_UNITS = {
|
|||||||
' Watts': 'W',
|
' Watts': 'W',
|
||||||
' Hz': 'Hz',
|
' Hz': 'Hz',
|
||||||
' C': TEMP_CELSIUS,
|
' C': TEMP_CELSIUS,
|
||||||
|
' Percent Load Capacity': '%',
|
||||||
}
|
}
|
||||||
|
|
||||||
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
|
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
|
||||||
|
@ -68,7 +68,7 @@ amcrest==1.2.0
|
|||||||
anthemav==1.1.8
|
anthemav==1.1.8
|
||||||
|
|
||||||
# homeassistant.components.apcupsd
|
# homeassistant.components.apcupsd
|
||||||
apcaccess==0.0.10
|
apcaccess==0.0.13
|
||||||
|
|
||||||
# homeassistant.components.notify.apns
|
# homeassistant.components.notify.apns
|
||||||
apns2==0.1.1
|
apns2==0.1.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user