<reponame>andrzejressel/tuya-iot-python-sdk
"""Tuya iot enums."""

from enum import Enum


class AuthType(Enum):
    """Tuya Cloud Auth Type."""

    SMART_HOME = 0
    CUSTOM = 1


class TuyaCloudOpenAPIEndpoint(str, Enum):
    """Tuya Cloud Open API Endpoint."""

    CHINA = "https://openapi.tuyacn.com"
    AMERICA = "https://openapi.tuyaus.com"
    AMERICA_AZURE = "https://openapi-ueaz.tuyaus.com"
    EUROPE = "https://openapi.tuyaeu.com"
    EUROPE_MS = "https://openapi-weaz.tuyaeu.com"
    INDIA = "https://openapi.tuyain.com"


class TuyaCloudPulsarWSEndpoint(str, Enum):
    """Tuya Cloud Pulsar websocket Endpoint."""

    CHINA = "wss://mqe.tuyacn.com:8285/"
    AMERICA = "wss://mqe.tuyaus.com:8285/"
    EUROPE = "wss://mqe.tuyaeu.com:8285/"
    INDIA = "wss://mqe.tuyain.com:8285/"


class TuyaCloudPulsarTopic(str, Enum):
    """Tuya Cloud Pulsar Topic."""

    PROD = "event"
    TEST = "event-test"

"""Tuya iot enums."""

from enum import Enum


class AuthType(Enum):
    """Tuya Cloud Auth Type."""

    SMART_HOME = 0
    CUSTOM = 1


class TuyaCloudOpenAPIEndpoint(str, Enum):
    """Tuya Cloud Open API Endpoint."""

    CHINA = "https://openapi.tuyacn.com"
    AMERICA = "https://openapi.tuyaus.com"
    AMERICA_AZURE = "https://openapi-ueaz.tuyaus.com"
    EUROPE = "https://openapi.tuyaeu.com"
    EUROPE_MS = "https://openapi-weaz.tuyaeu.com"
    INDIA = "https://openapi.tuyain.com"


class TuyaCloudPulsarWSEndpoint(str, Enum):
    """Tuya Cloud Pulsar websocket Endpoint."""

    CHINA = "wss://mqe.tuyacn.com:8285/"
    AMERICA = "wss://mqe.tuyaus.com:8285/"
    EUROPE = "wss://mqe.tuyaeu.com:8285/"
    INDIA = "wss://mqe.tuyain.com:8285/"


class TuyaCloudPulsarTopic(str, Enum):
    """Tuya Cloud Pulsar Topic."""

    PROD = "event"
    TEST = "event-test"
Tuya iot enums. Tuya Cloud Auth Type. Tuya Cloud Open API Endpoint. Tuya Cloud Pulsar websocket Endpoint. Tuya Cloud Pulsar Topic.