Correctly set warm white variables (#569)

This commit is contained in:
Jesse Hills
2019-05-30 19:33:47 +12:00
committed by Otto Winter
parent 31ddd3f668
commit 8dd971b25e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ class CWWWLightOutput : public light::LightOutput {
traits.set_supports_rgb_white_value(false);
traits.set_supports_color_temperature(true);
traits.set_min_mireds(this->cold_white_temperature_);
traits.set_min_mireds(this->warm_white_temperature_);
traits.set_max_mireds(this->warm_white_temperature_);
return traits;
}
void write_state(light::LightState *state) override {