diff --git a/components/custom_monochromatic/monochromatic_light_output.h b/components/custom_monochromatic/monochromatic_light_output.h index 41c5a15..e6c72ee 100644 --- a/components/custom_monochromatic/monochromatic_light_output.h +++ b/components/custom_monochromatic/monochromatic_light_output.h @@ -27,7 +27,7 @@ public: return traits; } void write_state(light::LightState *state) override { - if (this->state_ == Off) { + if (this->state_ == On) { this->light_state_ = state; state->current_values_as_brightness(&(this->bright_)); this->upper_->set_level(this->bright_);