31 lines
559 B
Python
31 lines
559 B
Python
|
"""Constants for the Dexcom integration."""
|
||
|
|
||
|
DOMAIN = "dexcom"
|
||
|
PLATFORMS = ["sensor"]
|
||
|
|
||
|
GLUCOSE_VALUE_ICON = "mdi:diabetes"
|
||
|
|
||
|
GLUCOSE_TREND_ICON = [
|
||
|
"mdi:help",
|
||
|
"mdi:arrow-up-thick",
|
||
|
"mdi:arrow-up",
|
||
|
"mdi:arrow-top-right",
|
||
|
"mdi:arrow-right",
|
||
|
"mdi:arrow-bottom-right",
|
||
|
"mdi:arrow-down",
|
||
|
"mdi:arrow-down-thick",
|
||
|
"mdi:help",
|
||
|
"mdi:alert-circle-outline",
|
||
|
]
|
||
|
|
||
|
MMOL_L = "mmol/L"
|
||
|
MG_DL = "mg/dL"
|
||
|
|
||
|
CONF_SERVER = "server"
|
||
|
|
||
|
SERVER_OUS = "EU"
|
||
|
SERVER_US = "US"
|
||
|
|
||
|
COORDINATOR = "coordinator"
|
||
|
UNDO_UPDATE_LISTENER = "undo_update_listener"
|