esp32_ethernet_milight_hub/lib/Types/MiLightRemoteType.h
2021-01-15 22:49:01 +01:00

20 lines
472 B
C++

#pragma once
#include <Arduino.h>
enum MiLightRemoteType {
REMOTE_TYPE_UNKNOWN = 255,
REMOTE_TYPE_RGBW = 0,
REMOTE_TYPE_CCT = 1,
REMOTE_TYPE_RGB_CCT = 2,
REMOTE_TYPE_RGB = 3,
REMOTE_TYPE_FUT089 = 4,
REMOTE_TYPE_FUT091 = 5,
REMOTE_TYPE_FUT020 = 6
};
class MiLightRemoteTypeHelpers {
public:
static const MiLightRemoteType remoteTypeFromString(const String& type);
static const String remoteTypeToString(const MiLightRemoteType type);
};