mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 06:07:17 +00:00
Upgrade py-cpuinfo to 0.2.7 (#6610)
This commit is contained in:
parent
2687f2f623
commit
bca673f039
@ -13,7 +13,7 @@ from homeassistant.const import CONF_NAME
|
|||||||
import homeassistant.helpers.config_validation as cv
|
import homeassistant.helpers.config_validation as cv
|
||||||
from homeassistant.helpers.entity import Entity
|
from homeassistant.helpers.entity import Entity
|
||||||
|
|
||||||
REQUIREMENTS = ['py-cpuinfo==0.2.6']
|
REQUIREMENTS = ['py-cpuinfo==0.2.7']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
@ -31,7 +31,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
|
|||||||
|
|
||||||
# pylint: disable=unused-variable
|
# pylint: disable=unused-variable
|
||||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||||
"""Setup the CPU speed sensor."""
|
"""Set up the CPU speed sensor."""
|
||||||
name = config.get(CONF_NAME)
|
name = config.get(CONF_NAME)
|
||||||
|
|
||||||
add_devices([CpuSpeedSensor(name)])
|
add_devices([CpuSpeedSensor(name)])
|
||||||
|
@ -437,7 +437,7 @@ pushetta==1.0.15
|
|||||||
pwaqi==3.0
|
pwaqi==3.0
|
||||||
|
|
||||||
# homeassistant.components.sensor.cpuspeed
|
# homeassistant.components.sensor.cpuspeed
|
||||||
py-cpuinfo==0.2.6
|
py-cpuinfo==0.2.7
|
||||||
|
|
||||||
# homeassistant.components.hdmi_cec
|
# homeassistant.components.hdmi_cec
|
||||||
pyCEC==0.4.13
|
pyCEC==0.4.13
|
||||||
|
Loading…
x
Reference in New Issue
Block a user