Skip to content

Commit

Permalink
Merge pull request #71 from chises/70-configentrynotready
Browse files Browse the repository at this point in the history
adjust Oilfox API URL for devices
  • Loading branch information
chises authored Nov 15, 2024
2 parents 0b90574 + 005b477 commit e7cc7cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/oilfox/OilFox.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class OilFox:
update_token: int = 0
base_url = "https://api.oilfox.io"
login_url = base_url + "/customer-api/v1/login"
device_url = base_url + "/customer-api/v1/device/"
device_url = base_url + "/customer-api/v1/device"
token_url = base_url + "/customer-api/v1/token"

def __init__(self, email, password, hwid, timeout=300, poll_interval=30):
Expand Down

0 comments on commit e7cc7cb

Please sign in to comment.