Show gate as unavailable before receiving sync

This commit is contained in:
2026-05-22 21:49:09 +00:00
parent 4414ba8f33
commit 1c507d6164
+3
View File
@@ -26,6 +26,9 @@ void RATGDOCover::setup()
void RATGDOCover::on_door_state(DoorState state, float position)
{
if (state == DoorState::UNKNOWN) {
return;
}
// ESP_LOGD("ON_DOOR_STATE", "%s %f", LOG_STR_ARG(DoorState_to_string(state)), position);
bool save_to_flash = true;
switch (state) {