Skip to content

Commit d40eeee

Browse files
Remove deprecated ConfigSource from core (home-assistant#154112)
1 parent c9d9730 commit d40eeee

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

homeassistant/core.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@
8686
)
8787
from .helpers.deprecation import (
8888
DeferredDeprecatedAlias,
89-
EnumWithDeprecatedMembers,
9089
all_with_deprecated_constants,
9190
check_if_deprecated_constant,
9291
dir_with_deprecated_constants,
@@ -135,24 +134,6 @@
135134
type EntityServiceResponse = dict[str, ServiceResponse]
136135

137136

138-
class ConfigSource(
139-
enum.StrEnum,
140-
metaclass=EnumWithDeprecatedMembers,
141-
deprecated={
142-
"DEFAULT": ("core_config.ConfigSource.DEFAULT", "2025.11.0"),
143-
"DISCOVERED": ("core_config.ConfigSource.DISCOVERED", "2025.11.0"),
144-
"STORAGE": ("core_config.ConfigSource.STORAGE", "2025.11.0"),
145-
"YAML": ("core_config.ConfigSource.YAML", "2025.11.0"),
146-
},
147-
):
148-
"""Source of core configuration."""
149-
150-
DEFAULT = "default"
151-
DISCOVERED = "discovered"
152-
STORAGE = "storage"
153-
YAML = "yaml"
154-
155-
156137
class EventStateEventData(TypedDict):
157138
"""Base class for EVENT_STATE_CHANGED and EVENT_STATE_REPORTED data."""
158139

0 commit comments

Comments
 (0)