Bump starlingbank version to 3.1 (#21501)

* Bump starlingbank version to 3.1

Resolves Python 3.5 compatibility issue.

* Remove syntax error.
This commit is contained in:
Adam Dullage 2019-02-28 04:23:21 +00:00 committed by Fabian Affolter
parent aad15776c0
commit 548d7bbeda
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ from homeassistant.const import CONF_ACCESS_TOKEN, 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 = ['starlingbank==3.0'] REQUIREMENTS = ['starlingbank==3.1']
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)
@ -44,7 +44,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
def setup_platform(hass, config, add_devices, discovery_info=None): def setup_platform(hass, config, add_devices, discovery_info=None):
"""Set up the Sterling Bank sensor platform.""" """Set up the Sterling Bank sensor platform."""
from starlingbank import StarlingAccount # pylint: disable=syntax-error from starlingbank import StarlingAccount
sensors = [] sensors = []
for account in config[CONF_ACCOUNTS]: for account in config[CONF_ACCOUNTS]:

View File

@ -1622,7 +1622,7 @@ sqlalchemy==1.2.18
srpenergy==1.0.5 srpenergy==1.0.5
# homeassistant.components.sensor.starlingbank # homeassistant.components.sensor.starlingbank
starlingbank==3.0 starlingbank==3.1
# homeassistant.components.statsd # homeassistant.components.statsd
statsd==3.2.1 statsd==3.2.1