From 3335619c5d39c26dcd12ac99c9bfe139555dd1c0 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 30 Apr 2024 22:39:10 +0200 Subject: [PATCH] Fix frozen dataclass inherits from a non-frozen one (#746) --- custom_components/spook/entity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/spook/entity.py b/custom_components/spook/entity.py index a3e64bfb..1ecadc74 100644 --- a/custom_components/spook/entity.py +++ b/custom_components/spook/entity.py @@ -7,7 +7,7 @@ from homeassistant.helpers.entity import Entity, EntityDescription -@dataclass +@dataclass(frozen=True, kw_only=True) class SpookEntityDescription(EntityDescription): """Defines an base Spook entity description."""