Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #438: Fix import-path of CurrencyMismatch #446

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions custom_components/nordpool/aio_price.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
import backoff
from dateutil.parser import parse as parse_dt
from homeassistant.util import dt as dt_utils
from nordpool.base import CurrencyMismatch
from nordpool.elspot import Prices
from nordpool.elspot import CurrencyMismatch, Prices
from pytz import timezone, utc

from .misc import add_junk
Expand Down
2 changes: 1 addition & 1 deletion custom_components/nordpool/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/custom-components/nordpool/issues",
"requirements": [
"nordpool>=0.2",
"nordpool>=0.4.3,<1",
"backoff"
],
"version": "0.0.16"
Expand Down
3 changes: 1 addition & 2 deletions custom_components/nordpool/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
# https://repl.it/repls/WildImpishMass
from dateutil import tz
from dateutil.parser import parse as parse_dt
from nordpool.base import CurrencyMismatch
from nordpool.elspot import Prices
from nordpool.elspot import CurrencyMismatch, Prices

_LOGGER = logging.getLogger(__name__)
logging.basicConfig(level=logging.DEBUG)
Expand Down
Loading