homematicip.group¶
homematicip.group
¶
AutoNameEnum
¶
Bases: StrEnum
auto() will generate the name of the attribute as value
from_str
classmethod
¶
this function will create the enum object based on its string value
Args: text(str): the string value of the enum default(AutoNameEnum): a default value if text could not be used Returns: the enum object or None if the text is None or the default value