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.
1 parent e50a531 commit 4cafd39Copy full SHA for 4cafd39
homeassistant/components/mopeka/sensor.py
@@ -19,6 +19,7 @@
19
from homeassistant.const import (
20
PERCENTAGE,
21
SIGNAL_STRENGTH_DECIBELS_MILLIWATT,
22
+ UnitOfElectricPotential,
23
UnitOfLength,
24
UnitOfTemperature,
25
)
@@ -41,7 +42,7 @@
41
42
"battery_voltage": SensorEntityDescription(
43
key="battery_voltage",
44
device_class=SensorDeviceClass.VOLTAGE,
- native_unit_of_measurement=PERCENTAGE,
45
+ native_unit_of_measurement=UnitOfElectricPotential.VOLT,
46
state_class=SensorStateClass.MEASUREMENT,
47
entity_category=EntityCategory.DIAGNOSTIC,
48
entity_registry_enabled_default=False,
0 commit comments