Upgrade qnapstats to 0.2.7 (#16360)
This commit is contained in:
parent
03fb2b32a6
commit
15ad82b9bd
2 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ from homeassistant.const import (
|
|||
from homeassistant.util import Throttle
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
|
||||
REQUIREMENTS = ['qnapstats==0.2.6']
|
||||
REQUIREMENTS = ['qnapstats==0.2.7']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
@ -173,7 +173,7 @@ class QNAPStatsAPI:
|
|||
|
||||
protocol = "https" if config.get(CONF_SSL) else "http"
|
||||
self._api = QNAPStats(
|
||||
protocol + "://" + config.get(CONF_HOST),
|
||||
'{}://{}'.format(protocol, config.get(CONF_HOST)),
|
||||
config.get(CONF_PORT),
|
||||
config.get(CONF_USERNAME),
|
||||
config.get(CONF_PASSWORD),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue