Upgrade qnapstats to 0.2.7 (#16360)

This commit is contained in:
Fabian Affolter 2018-09-02 12:51:25 +02:00 committed by GitHub
parent 03fb2b32a6
commit 15ad82b9bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ from homeassistant.const import (
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 = ['qnapstats==0.2.6'] REQUIREMENTS = ['qnapstats==0.2.7']
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)
@ -173,7 +173,7 @@ class QNAPStatsAPI:
protocol = "https" if config.get(CONF_SSL) else "http" protocol = "https" if config.get(CONF_SSL) else "http"
self._api = QNAPStats( self._api = QNAPStats(
protocol + "://" + config.get(CONF_HOST), '{}://{}'.format(protocol, config.get(CONF_HOST)),
config.get(CONF_PORT), config.get(CONF_PORT),
config.get(CONF_USERNAME), config.get(CONF_USERNAME),
config.get(CONF_PASSWORD), config.get(CONF_PASSWORD),

View File

@ -1217,7 +1217,7 @@ pyxeoma==1.4.0
pyzabbix==0.7.4 pyzabbix==0.7.4
# homeassistant.components.sensor.qnap # homeassistant.components.sensor.qnap
qnapstats==0.2.6 qnapstats==0.2.7
# homeassistant.components.rachio # homeassistant.components.rachio
rachiopy==0.1.3 rachiopy==0.1.3