You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

28 lines
689 B

#pragma once
namespace esphome {
namespace yeelight {
namespace bs2 {
/// A tag, used for logging.
static const char *TAG = "yeelight_bs2";
/// The minimum color temperature in mired. Same as supported by
/// the original Yeelight firmware.
static const int MIRED_MIN = 153;
/// The maximum color temperature in mired. Same as supported by
/// the original Yeelight firmware.
static const int MIRED_MAX = 588;
/// This struct is used to hold GPIO pin duty cycles.
struct DutyCycles {
float red;
float green;
float blue;
float white;
};
} // namespace bs2
} // namespace yeelight
} // namespace esphome