1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-25 17:56:30 +01:00
Files
core/tests/components/aidot/const.py
T
aide 7da5b10b51 Add new integration for AiDot (#167272)
Co-authored-by: bryan <185078974@qq.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2026-05-18 14:57:25 +02:00

46 lines
1.1 KiB
Python

"""Const for the aidot tests."""
from aidot.const import CONF_DEVICE_LIST
TEST_COUNTRY = "US"
TEST_EMAIL = "test@gmail.com"
TEST_PASSWORD = "123456"
TEST_REGION = "us"
TEST_LOGIN_RESP = {
"id": "314159263367458941151",
"accessToken": "1234567891011121314151617181920",
"refreshToken": "2021222324252627282930313233343",
"expiresIn": 10000,
"nickname": TEST_EMAIL,
"username": TEST_EMAIL,
"password": TEST_PASSWORD,
"region": TEST_REGION,
"country": "United States",
}
ENTITY_LIGHT = "light.test_light"
LIGHT_DOMAIN = "light"
TEST_DEVICE1 = {
"id": "device_id",
"name": "Test Light",
"modelId": "aidot.light.rgbw",
"mac": "AA:BB:CC:DD:EE:FF",
"hardwareVersion": "1.0",
"type": "light",
"aesKey": ["mock_aes_key"],
"product": {
"id": "test_product",
"serviceModules": [
{"identity": "control.light.rgbw"},
{
"identity": "control.light.cct",
"properties": [{"identity": "CCT", "maxValue": 6500, "minValue": 2700}],
},
],
},
}
TEST_DEVICE_LIST = {CONF_DEVICE_LIST: [TEST_DEVICE1]}