Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the Honeywell Lyric integration."""
2 
3 from aiohttp.client_exceptions import ClientResponseError
4 from aiolyric.exceptions import LyricAuthenticationException, LyricException
5 
6 DOMAIN = "lyric"
7 
8 OAUTH2_AUTHORIZE = "https://api.honeywell.com/oauth2/authorize"
9 OAUTH2_TOKEN = "https://api.honeywell.com/oauth2/token"
10 
11 PRESET_NO_HOLD = "NoHold"
12 PRESET_TEMPORARY_HOLD = "TemporaryHold"
13 PRESET_HOLD_UNTIL = "HoldUntil"
14 PRESET_PERMANENT_HOLD = "PermanentHold"
15 PRESET_VACATION_HOLD = "VacationHold"
16 
17 LYRIC_EXCEPTIONS = (
18  LyricAuthenticationException,
19  LyricException,
20  ClientResponseError,
21 )