Add and use bunch of data size and rate related constants (#31781)
Also fix a few units to match the corresponding data.
This commit is contained in:
1 parent
0173c61fee
commit
3e23a3a860
41 files changed
+349
-223
No files matched your search
@@ -8,10 +8,9 @@ from homeassistant.components.wled.const import (
|
||||
ATTR_LED_COUNT,
|
||||
ATTR_MAX_POWER,
|
||||
CURRENT_MA,
|
||||
DATA_BYTES,
|
||||
DOMAIN,
|
||||
)
|
||||
from homeassistant.const import ATTR_ICON, ATTR_UNIT_OF_MEASUREMENT
|
||||
from homeassistant.const import ATTR_ICON, ATTR_UNIT_OF_MEASUREMENT, DATA_BYTES
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.util import dt as dt_util
|
||||
|
||||
|
||||
Reference in new issue
Block a user