This commit is contained in:
J. Nick Koston 2023-06-07 19:31:08 -05:00
parent dbf6a6b839
commit 732b3b2670
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ namespace ratgdo {
{ {
ESP_LOGCONFIG("", "RATGDO Light"); ESP_LOGCONFIG("", "RATGDO Light");
} }
void RATGDOLightOutput::on_light_state(LightState state) void RATGDOLightOutput::on_light_state(esphome::ratgdo::LightState state)
{ {
ESP_LOGD(TAG, "on_light_state: %d", state); ESP_LOGD(TAG, "on_light_state: %d", state);
this->_is_on = state == LightState::LIGHT_STATE_ON; this->_is_on = state == LightState::LIGHT_STATE_ON;