From 0f2fd2f88099fb36cd10bb0c29bfe0530f2809c0 Mon Sep 17 00:00:00 2001 From: HuffYk Date: Wed, 26 Jun 2024 19:22:26 +0200 Subject: [PATCH] remove AQI device class for air quality percentage sensor --- custom_components/vesync/sensor.py | 1 - 1 file changed, 1 deletion(-) diff --git a/custom_components/vesync/sensor.py b/custom_components/vesync/sensor.py index bcd9b16..d4ee86b 100644 --- a/custom_components/vesync/sensor.py +++ b/custom_components/vesync/sensor.py @@ -295,7 +295,6 @@ class VeSyncAirQualityPercSensor(VeSyncHumidifierSensorEntity): """Representation of an air quality percentage sensor.""" _attr_state_class = SensorStateClass.MEASUREMENT - _attr_device_class = SensorDeviceClass.AQI def __init__(self, device, coordinator) -> None: """Initialize the VeSync device."""