Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Define constants for the OpenUV component."""
2 
3 import logging
4 
5 DOMAIN = "openuv"
6 LOGGER = logging.getLogger(__package__)
7 
8 CONF_FROM_WINDOW = "from_window"
9 CONF_TO_WINDOW = "to_window"
10 
11 DATA_PROTECTION_WINDOW = "protection_window"
12 DATA_UV = "uv"
13 
14 DEFAULT_FROM_WINDOW = 3.5
15 DEFAULT_TO_WINDOW = 3.5
16 
17 TYPE_CURRENT_OZONE_LEVEL = "current_ozone_level"
18 TYPE_CURRENT_UV_INDEX = "current_uv_index"
19 TYPE_CURRENT_UV_LEVEL = "current_uv_level"
20 TYPE_MAX_UV_INDEX = "max_uv_index"
21 TYPE_PROTECTION_WINDOW = "uv_protection_window"
22 TYPE_SAFE_EXPOSURE_TIME_1 = "safe_exposure_time_type_1"
23 TYPE_SAFE_EXPOSURE_TIME_2 = "safe_exposure_time_type_2"
24 TYPE_SAFE_EXPOSURE_TIME_3 = "safe_exposure_time_type_3"
25 TYPE_SAFE_EXPOSURE_TIME_4 = "safe_exposure_time_type_4"
26 TYPE_SAFE_EXPOSURE_TIME_5 = "safe_exposure_time_type_5"
27 TYPE_SAFE_EXPOSURE_TIME_6 = "safe_exposure_time_type_6"