mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Use strings instead of f-strings for constants (#40619)
This commit is contained in:
@@ -2,11 +2,7 @@
|
||||
from datetime import timedelta
|
||||
import json
|
||||
|
||||
from homeassistant.components.accuweather.const import (
|
||||
ATTRIBUTION,
|
||||
CONCENTRATION_PARTS_PER_CUBIC_METER,
|
||||
DOMAIN,
|
||||
)
|
||||
from homeassistant.components.accuweather.const import ATTRIBUTION, DOMAIN
|
||||
from homeassistant.components.sensor import DOMAIN as SENSOR_DOMAIN
|
||||
from homeassistant.const import (
|
||||
ATTR_ATTRIBUTION,
|
||||
@@ -14,6 +10,7 @@ from homeassistant.const import (
|
||||
ATTR_ENTITY_ID,
|
||||
ATTR_ICON,
|
||||
ATTR_UNIT_OF_MEASUREMENT,
|
||||
CONCENTRATION_PARTS_PER_CUBIC_METER,
|
||||
DEVICE_CLASS_TEMPERATURE,
|
||||
LENGTH_METERS,
|
||||
LENGTH_MILLIMETERS,
|
||||
|
||||
Reference in New Issue
Block a user