Skip to content
Snippets Groups Projects
Commit 12e6f143 authored by Matrix's avatar Matrix Committed by Paulus Schoutsen
Browse files

Bump yolink-api to 0.0.6 (#72903)

* Bump yolink-api to 0.0.6

* update testcase
parent 2b77db25
Branches
Tags
No related merge requests found
......@@ -3,7 +3,7 @@
"name": "YoLink",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/yolink",
"requirements": ["yolink-api==0.0.5"],
"requirements": ["yolink-api==0.0.6"],
"dependencies": ["auth", "application_credentials"],
"codeowners": ["@matrixd2"],
"iot_class": "cloud_push"
......
......@@ -2486,7 +2486,7 @@ yeelight==0.7.10
yeelightsunflower==0.0.10
# homeassistant.components.yolink
yolink-api==0.0.5
yolink-api==0.0.6
# homeassistant.components.youless
youless-api==0.16
......
......@@ -1638,7 +1638,7 @@ yalexs==1.1.25
yeelight==0.7.10
# homeassistant.components.yolink
yolink-api==0.0.5
yolink-api==0.0.6
# homeassistant.components.youless
youless-api==0.16
......
......@@ -3,6 +3,8 @@ import asyncio
from http import HTTPStatus
from unittest.mock import patch
from yolink.const import OAUTH2_AUTHORIZE, OAUTH2_TOKEN
from homeassistant import config_entries, data_entry_flow, setup
from homeassistant.components import application_credentials
from homeassistant.core import HomeAssistant
......@@ -12,11 +14,7 @@ from tests.common import MockConfigEntry
CLIENT_ID = "12345"
CLIENT_SECRET = "6789"
YOLINK_HOST = "api.yosmart.com"
YOLINK_HTTP_HOST = f"http://{YOLINK_HOST}"
DOMAIN = "yolink"
OAUTH2_AUTHORIZE = f"{YOLINK_HTTP_HOST}/oauth/v2/authorization.htm"
OAUTH2_TOKEN = f"{YOLINK_HTTP_HOST}/open/yolink/token"
async def test_abort_if_no_configuration(hass):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment