Home Assistant Unofficial Reference 2024.12.1
deprecation.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.helpers.deprecation.DeferredDeprecatedAlias
 
class  homeassistant.helpers.deprecation.DeprecatedAlias
 
class  homeassistant.helpers.deprecation.DeprecatedConstant
 
class  homeassistant.helpers.deprecation.DeprecatedConstantEnum
 
class  homeassistant.helpers.deprecation.EnumWithDeprecatedMembers
 

Namespaces

 homeassistant.helpers.deprecation
 

Functions

def homeassistant.helpers.deprecation._ObjectT
 
None homeassistant.helpers.deprecation._print_deprecation_warning (Any obj, str replacement, str description, str verb, str|None breaks_in_ha_version)
 
None homeassistant.helpers.deprecation._print_deprecation_warning_internal (str obj_name, str module_name, str replacement, str description, str verb, str|None breaks_in_ha_version, *bool log_when_no_integration_is_found)
 
None homeassistant.helpers.deprecation._print_deprecation_warning_internal_impl (str obj_name, str module_name, str replacement, str description, str verb, str|None breaks_in_ha_version, *bool log_when_no_integration_is_found)
 
Callable[[Callable[_P, _R]], Callable[_P, _R]] homeassistant.helpers.deprecation._R (str replacement, *str|None breaks_in_ha_version=None)
 
list[str] homeassistant.helpers.deprecation.all_with_deprecated_constants (dict[str, Any] module_globals)
 
Any homeassistant.helpers.deprecation.check_if_deprecated_constant (str name, dict[str, Any] module_globals)
 
list[str] homeassistant.helpers.deprecation.dir_with_deprecated_constants (list[str] module_globals_keys)
 
Any|None homeassistant.helpers.deprecation.get_deprecated (dict[str, Any] config, str new_name, str old_name, Any|None default=None)
 

Variables

string homeassistant.helpers.deprecation._PREFIX_DEPRECATED = "_DEPRECATED_"