Use platform enum (1) [A-D] (#60908)
* Use platform enum (1) [A-D] * Fix imports * Fix tests * Use Platform even in tests
This commit is contained in:
parent
ef458b237c
commit
f57d42a9e8
65 changed files with 272 additions and 183 deletions
|
@ -1,8 +1,8 @@
|
|||
"""Constants for the Dexcom integration."""
|
||||
from homeassistant.const import Platform
|
||||
|
||||
DOMAIN = "dexcom"
|
||||
PLATFORMS = ["sensor"]
|
||||
|
||||
PLATFORMS = [Platform.SENSOR]
|
||||
GLUCOSE_VALUE_ICON = "mdi:diabetes"
|
||||
|
||||
GLUCOSE_TREND_ICON = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue