mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +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
|
||||
from homeassistant.util import Throttle
|
||||
|
||||
REQUIREMENTS = ['apcaccess==0.0.10']
|
||||
REQUIREMENTS = ['apcaccess==0.0.13']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
@ -96,6 +96,7 @@ INFERRED_UNITS = {
|
||||
' Watts': 'W',
|
||||
' Hz': 'Hz',
|
||||
' C': TEMP_CELSIUS,
|
||||
' Percent Load Capacity': '%',
|
||||
}
|
||||
|
||||
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user