Rename and reorganize electric unit constants (#53243)
This commit is contained in:
parent
6e88428f95
commit
074d762664
33 changed files with 244 additions and 178 deletions
|
@ -14,10 +14,10 @@ from homeassistant.const import (
|
|||
DEVICE_CLASS_TEMPERATURE,
|
||||
DEVICE_CLASS_TIMESTAMP,
|
||||
DEVICE_CLASS_VOLTAGE,
|
||||
ELECTRIC_POTENTIAL_VOLT,
|
||||
FREQUENCY_GIGAHERTZ,
|
||||
PERCENTAGE,
|
||||
TEMP_CELSIUS,
|
||||
VOLT,
|
||||
)
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator
|
||||
|
@ -205,7 +205,7 @@ class BridgeCpuVoltageSensor(BridgeSensor):
|
|||
"CPU Voltage",
|
||||
None,
|
||||
DEVICE_CLASS_VOLTAGE,
|
||||
VOLT,
|
||||
ELECTRIC_POTENTIAL_VOLT,
|
||||
False,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue