Skip to content

Commit

Permalink
Fix frozen dataclass inherits from a non-frozen one (#746)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Apr 30, 2024
1 parent 0210173 commit 3335619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/spook/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""

Expand Down

0 comments on commit 3335619

Please sign in to comment.