mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 17:27:52 +00:00

* extend tests to catch null schedules * add fixture with null schedule * remove null schedules for now * fic the typing for _schedule attr (is list, not dict) * add valid schedule to fixture * update ssetpoints only if there is a schedule * snapshot to match last change * refactor: dont update switchpoints if no schedule * add in warnings for null schedules * add fixture for DHW without schedule
24 lines
763 B
Python
24 lines
763 B
Python
"""Constants for the evohome tests."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import Final
|
|
|
|
ACCESS_TOKEN: Final = "at_1dc7z657UKzbhKA..."
|
|
REFRESH_TOKEN: Final = "rf_jg68ZCKYdxEI3fF..."
|
|
SESSION_ID: Final = "F7181186..."
|
|
USERNAME: Final = "test_user@gmail.com"
|
|
|
|
# The h-numbers refer to issues in HA's core repo
|
|
TEST_INSTALLS: Final = (
|
|
"minimal", # evohome: single zone, no DHW
|
|
"default", # evohome: multi-zone, with DHW
|
|
"h032585", # VisionProWifi: no preset modes for TCS, zoneId=systemId
|
|
"h099625", # RoundThermostat
|
|
"h139906", # zone with null schedule
|
|
"sys_004", # RoundModulation
|
|
)
|
|
# "botched", # as default: but with activeFaults, ghost zones & unknown types
|
|
|
|
TEST_INSTALLS_WITH_DHW: Final = ("default", "botched")
|