core/homeassistant/components/dexcom/const.py

31 lines
559 B
Python
Raw Normal View History

2020-07-02 00:14:54 +00:00
"""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"