Skip to content

Commit

Permalink
The empty enum is required
Browse files Browse the repository at this point in the history
  • Loading branch information
prairiesnpr committed Sep 25, 2024
1 parent 67799ed commit 012092e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zha/application/platforms/sensor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@ class MultiStateInputSensor(EnumSensor):
_unique_id_suffix = "present_value"
_attr_entity_registry_enabled_default = False
_attr_traslation_key = "multistate_input"
_enum = enum.Enum("Empty", names=()) # type: ignore [misc]

def __init__(
self,
Expand Down

0 comments on commit 012092e

Please sign in to comment.