Remvove deprecated core constants (#131803)

This commit is contained in:
Robert Resch
2024-11-28 11:06:04 +01:00
committed by GitHub
parent 28ec8272ee
commit be81fd86d3
2 changed files with 0 additions and 26 deletions

View File

@ -84,7 +84,6 @@ from .exceptions import (
)
from .helpers.deprecation import (
DeferredDeprecatedAlias,
DeprecatedConstantEnum,
EnumWithDeprecatedMembers,
all_with_deprecated_constants,
check_if_deprecated_constant,
@ -177,14 +176,6 @@ class EventStateReportedData(EventStateEventData):
old_last_reported: datetime.datetime
# SOURCE_* are deprecated as of Home Assistant 2022.2, use ConfigSource instead
_DEPRECATED_SOURCE_DISCOVERED = DeprecatedConstantEnum(
ConfigSource.DISCOVERED, "2025.1"
)
_DEPRECATED_SOURCE_STORAGE = DeprecatedConstantEnum(ConfigSource.STORAGE, "2025.1")
_DEPRECATED_SOURCE_YAML = DeprecatedConstantEnum(ConfigSource.YAML, "2025.1")
def _deprecated_core_config() -> Any:
# pylint: disable-next=import-outside-toplevel
from . import core_config