From 3b32c4bcbfa4040f994a26437a6f7b80b91fae77 Mon Sep 17 00:00:00 2001 From: Raphael Hehl <7577984+RaHehl@users.noreply.github.com> Date: Thu, 18 Dec 2025 15:51:16 +0100 Subject: [PATCH] Remove custom device_class from unifiprotect doorbell_text select entity (#159366) Co-authored-by: RaHehl --- homeassistant/components/unifiprotect/select.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/homeassistant/components/unifiprotect/select.py b/homeassistant/components/unifiprotect/select.py index 6fa3d9a40f2..ad19a79086f 100644 --- a/homeassistant/components/unifiprotect/select.py +++ b/homeassistant/components/unifiprotect/select.py @@ -6,7 +6,7 @@ from collections.abc import Callable, Sequence from dataclasses import dataclass from enum import Enum import logging -from typing import Any, Final +from typing import Any from uiprotect.api import ProtectApiClient from uiprotect.data import ( @@ -102,8 +102,6 @@ DEVICE_RECORDING_MODES = [ {"id": mode.value, "name": mode.value.title()} for mode in list(RecordingMode) ] -DEVICE_CLASS_LCD_MESSAGE: Final = "unifiprotect__lcd_message" - @dataclass(frozen=True, kw_only=True) class ProtectSelectEntityDescription( @@ -217,7 +215,6 @@ CAMERA_SELECTS: tuple[ProtectSelectEntityDescription, ...] = ( key="doorbell_text", translation_key="doorbell_text", entity_category=EntityCategory.CONFIG, - device_class=DEVICE_CLASS_LCD_MESSAGE, ufp_required_field="feature_flags.has_lcd_screen", ufp_value_fn=_get_doorbell_current, ufp_options_fn=_get_doorbell_options,