From 5e3a1e6465f239cc927720e77ec181afe9659d8a Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 7 Jun 2023 19:56:00 -0500 Subject: [PATCH] cleanups --- components/ratgdo/light/ratgdo_light_output.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/components/ratgdo/light/ratgdo_light_output.cpp b/components/ratgdo/light/ratgdo_light_output.cpp index c76d913..b67f783 100644 --- a/components/ratgdo/light/ratgdo_light_output.cpp +++ b/components/ratgdo/light/ratgdo_light_output.cpp @@ -18,6 +18,7 @@ namespace ratgdo { ESP_LOGD(TAG, "on_light_state: %d", state); if (this->light_state_) { this->light_state_->current_values.set_state(state == LightState::LIGHT_STATE_ON); + this->light_state_->remote_values.set_state(state == LightState::LIGHT_STATE_ON); this->light_state_->publish_state(); } }