From a13f98ec7ee7d5d917966f1f60e15ae968c2c1b6 Mon Sep 17 00:00:00 2001 From: gnxlxnxx Date: Wed, 24 Jan 2024 22:15:51 +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 52e6f3d..74f8296 100644 --- a/components/custom_monochromatic/monochromatic_light_output.h +++ b/components/custom_monochromatic/monochromatic_light_output.h @@ -36,7 +36,6 @@ public: this->state_ = s; switch(s){ case(On): - /* this -> write_state(this) */ this -> light_state_->turn_on(); break; case(Off): @@ -46,6 +45,7 @@ public: break; } + this -> write_state(this -> light_state_); } void loop(){