Upgrade py-cpuinfo to 0.2.3
This commit is contained in:
parent
9da8679dbd
commit
b70a455a13
2 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@ import logging
|
|||
|
||||
from homeassistant.helpers.entity import Entity
|
||||
|
||||
REQUIREMENTS = ['py-cpuinfo==0.1.8']
|
||||
REQUIREMENTS = ['py-cpuinfo==0.2.3']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
@ -26,7 +26,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||
|
||||
|
||||
class CpuSpeedSensor(Entity):
|
||||
"""A CPU info sensor."""
|
||||
"""Represents a CPU sensor."""
|
||||
def __init__(self, name):
|
||||
self._name = name
|
||||
self._state = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue