diff --git a/homeassistant/components/honeywell/sensor.py b/homeassistant/components/honeywell/sensor.py index 76e8a5b2588..030f8be779b 100644 --- a/homeassistant/components/honeywell/sensor.py +++ b/homeassistant/components/honeywell/sensor.py @@ -37,21 +37,14 @@ def _get_temperature_sensor_unit(device: Device) -> str: return UnitOfTemperature.FAHRENHEIT -@dataclass(frozen=True) -class HoneywellSensorEntityDescriptionMixin: - """Mixin for required keys.""" +@dataclass(frozen=True, kw_only=True) +class HoneywellSensorEntityDescription(SensorEntityDescription): + """Describes a Honeywell sensor entity.""" value_fn: Callable[[Device], Any] unit_fn: Callable[[Device], Any] -@dataclass(frozen=True) -class HoneywellSensorEntityDescription( - SensorEntityDescription, HoneywellSensorEntityDescriptionMixin -): - """Describes a Honeywell sensor entity.""" - - SENSOR_TYPES: tuple[HoneywellSensorEntityDescription, ...] = ( HoneywellSensorEntityDescription( key=OUTDOOR_TEMPERATURE_STATUS_KEY,