File tree Expand file tree Collapse file tree 2 files changed +0
-24
lines changed Expand file tree Collapse file tree 2 files changed +0
-24
lines changed Original file line number Diff line number Diff line change 33from __future__ import annotations
44
55from enum import StrEnum
6- from functools import partial
76from typing import TYPE_CHECKING , Final
87
98from .generated .entity_platforms import EntityPlatforms
10- from .helpers .deprecation import (
11- DeprecatedConstantEnum ,
12- all_with_deprecated_constants ,
13- check_if_deprecated_constant ,
14- dir_with_deprecated_constants ,
15- )
169from .util .event_type import EventType
1710from .util .hass_dict import HassKey
1811from .util .signal_type import SignalType
@@ -1000,10 +993,3 @@ class EntityCategory(StrEnum):
1000993# This is not a hard limit, but caches and other
1001994# data structures will be pre-allocated to this size
1002995MAX_EXPECTED_ENTITY_IDS : Final = 16384
1003-
1004- # These can be removed if no deprecated constant are in this module anymore
1005- __getattr__ = partial (check_if_deprecated_constant , module_globals = globals ())
1006- __dir__ = partial (
1007- dir_with_deprecated_constants , module_globals_keys = [* globals ().keys ()]
1008- )
1009- __all__ = all_with_deprecated_constants (globals ())
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments