From d769359b4f2f3f4f9be151299eb9f59901e80716 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 29 Nov 2022 17:22:01 +0100 Subject: [PATCH] Remove invalid custom device class from MinutPoint sound sensor (#82934) --- homeassistant/components/point/sensor.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/homeassistant/components/point/sensor.py b/homeassistant/components/point/sensor.py index eba495a6c61..619180c0460 100644 --- a/homeassistant/components/point/sensor.py +++ b/homeassistant/components/point/sensor.py @@ -22,8 +22,6 @@ from .const import DOMAIN as POINT_DOMAIN, POINT_DISCOVERY_NEW _LOGGER = logging.getLogger(__name__) -DEVICE_CLASS_SOUND = "sound_level" - @dataclass class MinutPointRequiredKeysMixin: @@ -55,7 +53,6 @@ SENSOR_TYPES: tuple[MinutPointSensorEntityDescription, ...] = ( MinutPointSensorEntityDescription( key="sound", precision=1, - device_class=DEVICE_CLASS_SOUND, icon="mdi:ear-hearing", native_unit_of_measurement=SOUND_PRESSURE_WEIGHTED_DBA, ),