From ad4b2f2a5bdcc14948e900e10349dcb070e4eec0 Mon Sep 17 00:00:00 2001 From: gnxlxnxx Date: Wed, 24 Jan 2024 22:35:31 +0100 Subject: [PATCH] ........................... --- components/custom_monochromatic/monochromatic_light_output.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_);