Clean up unused vehicle distance derivatives

This commit is contained in:
2026-05-21 19:56:52 +00:00
parent a32b903c9c
commit 975d8c0b90
14 changed files with 1 additions and 321 deletions
-14
View File
@@ -16,18 +16,4 @@ LightState light_state_toggle(LightState state)
}
}
LockState lock_state_toggle(LockState state)
{
switch (state) {
case LockState::UNLOCKED:
return LockState::LOCKED;
case LockState::LOCKED:
return LockState::UNLOCKED;
// 2 and 3 appears sometimes
case LockState::UNKNOWN:
default:
return LockState::UNKNOWN;
}
}
} // namespace esphome::ratgdo