Remove ozone device class from OpenUV sensor (#84791)

fixes undefined
This commit is contained in:
Aaron Bach 2022-12-29 10:32:06 -07:00 committed by GitHub
parent ee66ffc8de
commit 570824100c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,6 @@
from __future__ import annotations from __future__ import annotations
from homeassistant.components.sensor import ( from homeassistant.components.sensor import (
SensorDeviceClass,
SensorEntity, SensorEntity,
SensorEntityDescription, SensorEntityDescription,
SensorStateClass, SensorStateClass,
@ -51,7 +50,6 @@ SENSOR_DESCRIPTIONS = (
SensorEntityDescription( SensorEntityDescription(
key=TYPE_CURRENT_OZONE_LEVEL, key=TYPE_CURRENT_OZONE_LEVEL,
name="Current ozone level", name="Current ozone level",
device_class=SensorDeviceClass.OZONE,
native_unit_of_measurement="du", native_unit_of_measurement="du",
state_class=SensorStateClass.MEASUREMENT, state_class=SensorStateClass.MEASUREMENT,
), ),