mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Remove invalid custom device class from MinutPoint sound sensor (#82934)
This commit is contained in:
parent
db9e8d2fa1
commit
d769359b4f
@ -22,8 +22,6 @@ from .const import DOMAIN as POINT_DOMAIN, POINT_DISCOVERY_NEW
|
|||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
DEVICE_CLASS_SOUND = "sound_level"
|
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class MinutPointRequiredKeysMixin:
|
class MinutPointRequiredKeysMixin:
|
||||||
@ -55,7 +53,6 @@ SENSOR_TYPES: tuple[MinutPointSensorEntityDescription, ...] = (
|
|||||||
MinutPointSensorEntityDescription(
|
MinutPointSensorEntityDescription(
|
||||||
key="sound",
|
key="sound",
|
||||||
precision=1,
|
precision=1,
|
||||||
device_class=DEVICE_CLASS_SOUND,
|
|
||||||
icon="mdi:ear-hearing",
|
icon="mdi:ear-hearing",
|
||||||
native_unit_of_measurement=SOUND_PRESSURE_WEIGHTED_DBA,
|
native_unit_of_measurement=SOUND_PRESSURE_WEIGHTED_DBA,
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user