Skip to content

homematicip.base.enums

AutoNameEnum

Bases: str, Enum

auto() will generate the name of the attribute as value

from_str classmethod

from_str

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