Use Platform constants all over the place 2/3 (#62953)
This commit is contained in:
parent
c8aabc48f1
commit
d18f1cc872
14 changed files with 70 additions and 34 deletions
|
@ -8,6 +8,7 @@ from homeassistant.const import (
|
|||
CONCENTRATION_PARTS_PER_BILLION,
|
||||
CONCENTRATION_PARTS_PER_MILLION,
|
||||
PERCENTAGE,
|
||||
Platform,
|
||||
)
|
||||
|
||||
DOMAIN = "kaiterra"
|
||||
|
@ -71,4 +72,4 @@ DEFAULT_AQI_STANDARD = "us"
|
|||
DEFAULT_PREFERRED_UNIT = []
|
||||
DEFAULT_SCAN_INTERVAL = timedelta(seconds=30)
|
||||
|
||||
PLATFORMS = ["sensor", "air_quality"]
|
||||
PLATFORMS = [Platform.SENSOR, Platform.AIR_QUALITY]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue