Home Assistant Unofficial Reference 2024.12.1
homeassistant.helpers.deprecation.EnumWithDeprecatedMembers Class Reference
Inheritance diagram for homeassistant.helpers.deprecation.EnumWithDeprecatedMembers:
[legend]
Collaboration diagram for homeassistant.helpers.deprecation.EnumWithDeprecatedMembers:
[legend]

Public Member Functions

Any __getattribute__ (cls, str name)
 
Any __new__ (mcs, str cls, tuple[type,...] bases, _EnumDict classdict, *dict[str, tuple[str, str]] deprecated, **Any kwds)
 

Detailed Description

Enum with deprecated members.

Definition at line 368 of file deprecation.py.

Member Function Documentation

◆ __getattribute__()

Any homeassistant.helpers.deprecation.EnumWithDeprecatedMembers.__getattribute__ (   cls,
str  name 
)
Warn if accessing a deprecated member.

Definition at line 384 of file deprecation.py.

◆ __new__()

Any homeassistant.helpers.deprecation.EnumWithDeprecatedMembers.__new__ (   mcs,
str  cls,
tuple[type, ...]  bases,
_EnumDict  classdict,
*dict[str, tuple[str, str]]  deprecated,
**Any  kwds 
)
Create a new class.

Definition at line 371 of file deprecation.py.


The documentation for this class was generated from the following file: