From 2043ea024704818e23a8c2d95b63e012a643e12c Mon Sep 17 00:00:00 2001 From: Joshua Date: Mon, 21 Sep 2026 10:01:43 -0400 Subject: [PATCH] Remove removed SensorDeviceClass.PERCENTAGE --- custom_components/nestquest/sensor.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/custom_components/nestquest/sensor.py b/custom_components/nestquest/sensor.py index 0157750..c340728 100644 --- a/custom_components/nestquest/sensor.py +++ b/custom_components/nestquest/sensor.py @@ -25,7 +25,6 @@ from collections.abc import Callable, Iterable from typing import Any from homeassistant.components.sensor import ( - SensorDeviceClass, SensorEntity, SensorStateClass, ) @@ -280,7 +279,6 @@ class NestQuestCompletionPctTodaySensor(_NestQuestChildDaySensor): """The child's completion percentage for today (100 on a zero-quest day).""" _attr_state_class = SensorStateClass.MEASUREMENT - _attr_device_class = SensorDeviceClass.PERCENTAGE _attr_native_unit_of_measurement = "%" _name_suffix = "completion pct today"