Home Assistant Unofficial Reference 2024.12.1
homeassistant.helpers.typing Namespace Reference

Classes

class  UndefinedType
 

Functions

DeferredDeprecatedAlias _deprecated_typing_helper (str attr)
 

Variables

 __all__ = all_with_deprecated_constants(globals())
 
 __dir__
 
 __getattr__ = partial(check_if_deprecated_constant, module_globals=globals())
 
DeferredDeprecatedAlias _DEPRECATED_ContextType = _deprecated_typing_helper("Context")
 
DeferredDeprecatedAlias _DEPRECATED_EventType = _deprecated_typing_helper("Event")
 
DeferredDeprecatedAlias _DEPRECATED_HomeAssistantType = _deprecated_typing_helper("HomeAssistant")
 
DeferredDeprecatedAlias _DEPRECATED_ServiceCallType = _deprecated_typing_helper("ServiceCall")
 
 ConfigType
 
 DiscoveryInfoType
 
 GPSType
 
 NoEventData
 
 QueryType
 
 ServiceDataType
 
 StateType
 
 TemplateVarsType
 
 UNDEFINED = UndefinedType._singleton
 
 VolDictType
 
 VolSchemaType
 

Detailed Description

Typing Helpers for Home Assistant.

Function Documentation

◆ _deprecated_typing_helper()

DeferredDeprecatedAlias homeassistant.helpers.typing._deprecated_typing_helper ( str  attr)
private
Help to make a DeferredDeprecatedAlias.

Definition at line 40 of file typing.py.

Variable Documentation

◆ __all__

homeassistant.helpers.typing.__all__ = all_with_deprecated_constants(globals())
private

Definition at line 67 of file typing.py.

◆ __dir__

homeassistant.helpers.typing.__dir__
private
Initial value:
1 = partial(
2  dir_with_deprecated_constants, module_globals_keys=[*globals().keys()]
3 )

Definition at line 64 of file typing.py.

◆ __getattr__

homeassistant.helpers.typing.__getattr__ = partial(check_if_deprecated_constant, module_globals=globals())
private

Definition at line 63 of file typing.py.

◆ _DEPRECATED_ContextType

DeferredDeprecatedAlias homeassistant.helpers.typing._DEPRECATED_ContextType = _deprecated_typing_helper("Context")
private

Definition at line 57 of file typing.py.

◆ _DEPRECATED_EventType

DeferredDeprecatedAlias homeassistant.helpers.typing._DEPRECATED_EventType = _deprecated_typing_helper("Event")
private

Definition at line 58 of file typing.py.

◆ _DEPRECATED_HomeAssistantType

DeferredDeprecatedAlias homeassistant.helpers.typing._DEPRECATED_HomeAssistantType = _deprecated_typing_helper("HomeAssistant")
private

Definition at line 59 of file typing.py.

◆ _DEPRECATED_ServiceCallType

DeferredDeprecatedAlias homeassistant.helpers.typing._DEPRECATED_ServiceCallType = _deprecated_typing_helper("ServiceCall")
private

Definition at line 60 of file typing.py.

◆ ConfigType

homeassistant.helpers.typing.ConfigType

Definition at line 18 of file typing.py.

◆ DiscoveryInfoType

homeassistant.helpers.typing.DiscoveryInfoType

Definition at line 19 of file typing.py.

◆ GPSType

homeassistant.helpers.typing.GPSType

Definition at line 17 of file typing.py.

◆ NoEventData

homeassistant.helpers.typing.NoEventData

Definition at line 23 of file typing.py.

◆ QueryType

homeassistant.helpers.typing.QueryType

Definition at line 28 of file typing.py.

◆ ServiceDataType

homeassistant.helpers.typing.ServiceDataType

Definition at line 20 of file typing.py.

◆ StateType

homeassistant.helpers.typing.StateType

Definition at line 21 of file typing.py.

◆ TemplateVarsType

homeassistant.helpers.typing.TemplateVarsType

Definition at line 22 of file typing.py.

◆ UNDEFINED

homeassistant.helpers.typing.UNDEFINED = UndefinedType._singleton

Definition at line 37 of file typing.py.

◆ VolDictType

homeassistant.helpers.typing.VolDictType

Definition at line 25 of file typing.py.

◆ VolSchemaType

homeassistant.helpers.typing.VolSchemaType

Definition at line 24 of file typing.py.