Clean up constants (#47323)

This commit is contained in:
tkdrob 2021-03-05 13:08:04 -05:00 committed by GitHub
parent cc99fd5e32
commit 3baeed3684
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 55 additions and 60 deletions

View file

@ -1,13 +1,16 @@
"""Constants for the Vilfo Router integration."""
from homeassistant.const import DEVICE_CLASS_TIMESTAMP, PERCENTAGE
from homeassistant.const import (
ATTR_DEVICE_CLASS,
ATTR_ICON,
DEVICE_CLASS_TIMESTAMP,
PERCENTAGE,
)
DOMAIN = "vilfo"
ATTR_API_DATA_FIELD = "api_data_field"
ATTR_API_DATA_FIELD_LOAD = "load"
ATTR_API_DATA_FIELD_BOOT_TIME = "boot_time"
ATTR_DEVICE_CLASS = "device_class"
ATTR_ICON = "icon"
ATTR_LABEL = "label"
ATTR_LOAD = "load"
ATTR_UNIT = "unit"