mirror of
https://github.com/ratgdo/esphome-ratgdo.git
synced 2025-02-09 01:04:30 +00:00
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…
x
Reference in New Issue
Block a user