mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
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:
parent
aad15776c0
commit
548d7bbeda
@ -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]:
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user