mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Upgrade python-hpilo to 3.9 (#4482)
This commit is contained in:
parent
608b482906
commit
eb8093934f
@ -17,7 +17,7 @@ from homeassistant.helpers.entity import Entity
|
|||||||
from homeassistant.util import Throttle
|
from homeassistant.util import Throttle
|
||||||
import homeassistant.helpers.config_validation as cv
|
import homeassistant.helpers.config_validation as cv
|
||||||
|
|
||||||
REQUIREMENTS = ['python-hpilo==3.8']
|
REQUIREMENTS = ['python-hpilo==3.9']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
|
|||||||
|
|
||||||
# pylint: disable=unused-argument
|
# pylint: disable=unused-argument
|
||||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||||
"""Setup the HP ILO sensor."""
|
"""Set up the HP ILO sensor."""
|
||||||
hostname = config.get(CONF_HOST)
|
hostname = config.get(CONF_HOST)
|
||||||
port = config.get(CONF_PORT)
|
port = config.get(CONF_PORT)
|
||||||
login = config.get(CONF_USERNAME)
|
login = config.get(CONF_USERNAME)
|
||||||
@ -83,7 +83,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||||||
|
|
||||||
|
|
||||||
class HpIloSensor(Entity):
|
class HpIloSensor(Entity):
|
||||||
"""Representation a HP ILO sensor."""
|
"""Representation of a HP ILO sensor."""
|
||||||
|
|
||||||
def __init__(self, hp_ilo_data, sensor_type, client_name):
|
def __init__(self, hp_ilo_data, sensor_type, client_name):
|
||||||
"""Initialize the sensor."""
|
"""Initialize the sensor."""
|
||||||
|
@ -417,7 +417,7 @@ python-digitalocean==1.10.1
|
|||||||
python-forecastio==1.3.5
|
python-forecastio==1.3.5
|
||||||
|
|
||||||
# homeassistant.components.sensor.hp_ilo
|
# homeassistant.components.sensor.hp_ilo
|
||||||
python-hpilo==3.8
|
python-hpilo==3.9
|
||||||
|
|
||||||
# homeassistant.components.lirc
|
# homeassistant.components.lirc
|
||||||
# python-lirc==1.2.3
|
# python-lirc==1.2.3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user