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.
|
#pragma once
|
|
|
|
#include <array>
|
|
#include <stdexcept>
|
|
|
|
namespace esphome {
|
|
namespace rgbww {
|
|
namespace yeelight_bs2 {
|
|
|
|
class NightLight
|
|
{
|
|
public:
|
|
// Based on measurements using the original device firmware.
|
|
float red = 0.968f;
|
|
float green = 0.968f;
|
|
float blue = 0.972f;
|
|
float white = 0.0f;
|
|
|
|
void set_color(float red, float green, float blue, float brightness, float state)
|
|
{
|
|
}
|
|
};
|
|
|
|
} // namespace yeelight_bs2
|
|
} // namespace rgbww
|
|
} // namespace esphome
|