Skip to content

Commit

Permalink
removed unused dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
toringer committed May 6, 2024
1 parent a081a15 commit 2a58657
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions custom_components/metnowcast/met_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from datetime import datetime
import logging
import requests
from requests_oauthlib import OAuth2Session
from .const import NotFound

_LOGGER = logging.getLogger(__name__)
Expand All @@ -19,8 +18,6 @@ class MetApi:

def __init__(self) -> None:
"""Init"""
self._session: OAuth2Session = None
self._session_expires_at: datetime = datetime.now()

def get_complete(self, lat: float, lon: float):
"""Get complete forecast"""
Expand Down
3 changes: 1 addition & 2 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
homeassistant==2024.4.3
requests_oauthlib==1.3.1
homeassistant==2024.4.3

0 comments on commit 2a58657

Please sign in to comment.