1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-17 15:26:01 +00:00
This commit is contained in:
J. Nick Koston
2025-11-07 16:33:01 -06:00
parent 1b6471f4b0
commit 8229e3a471
20 changed files with 40 additions and 20 deletions

View File

@@ -1,4 +1,5 @@
#include "esphome/core/controller_registry.h"
#include "esphome/core/defines.h"
#include "esphome/core/log.h"
#include "light_output.h"
@@ -140,7 +141,7 @@ float LightState::get_setup_priority() const { return setup_priority::HARDWARE -
void LightState::publish_state() {
this->remote_values_callback_.call();
#ifdef USE_LIGHT
#if defined(USE_LIGHT) && defined(USE_CONTROLLER_REGISTRY)
ControllerRegistry::notify_light_update(this);
#endif
}