tidy up
This commit is contained in:
parent
dbf6a6b839
commit
732b3b2670
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue