We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3db139e + 3d11a33 commit ac60708Copy full SHA for ac60708
sensor.py
@@ -7,9 +7,7 @@
7
SensorDeviceClass,
8
SensorEntity,
9
)
10
-from homeassistant.const import (
11
- ELECTRIC_POTENTIAL_MILLIVOLT,
12
-)
+from homeassistant.const import UnitOfElectricPotential
13
from homeassistant.core import HomeAssistant, callback
14
from homeassistant.helpers.dispatcher import async_dispatcher_connect
15
from homeassistant.helpers.entity_platform import AddEntitiesCallback
@@ -48,7 +46,7 @@ def __init__(
48
46
"PH-803W ORP",
49
47
"orp",
50
"mdi:water-opacity",
51
+ UnitOfElectricPotential.MILLIVOLT,
52
SensorDeviceClass.VOLTAGE,
53
),
54
]
0 commit comments