loop
This commit is contained in:
parent
78e5acb86c
commit
9c847e9713
|
@ -21,7 +21,7 @@ namespace ratgdo {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void RATGDOLightOutput::set_state(light::LightState* light_state, esphome::ratgdo::LightState state)
|
void RATGDOLightOutput::set_state(light::LightState* light_state, esphome::ratgdo::LightState state)
|
||||||
{
|
|
||||||
bool is_on = state == LightState::LIGHT_STATE_ON;
|
bool is_on = state == LightState::LIGHT_STATE_ON;
|
||||||
light_state->current_values.set_state(is_on);
|
light_state->current_values.set_state(is_on);
|
||||||
light_state->remote_values.set_state(is_on);
|
light_state->remote_values.set_state(is_on);
|
||||||
|
|
Loading…
Reference in New Issue