File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change 8686)
8787from .helpers .deprecation import (
8888 DeferredDeprecatedAlias ,
89- EnumWithDeprecatedMembers ,
9089 all_with_deprecated_constants ,
9190 check_if_deprecated_constant ,
9291 dir_with_deprecated_constants ,
135134type 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-
156137class EventStateEventData (TypedDict ):
157138 """Base class for EVENT_STATE_CHANGED and EVENT_STATE_REPORTED data."""
158139
You can’t perform that action at this time.
0 commit comments