   io_button.updateDebouncer();
 
   // Update diagnostic based on pattern and time in state.
-  diagnostics_led.setForPattern(time_in_state.time_millis(), led_pattern);
+  diagnostics_led.setForPattern(time_in_current_state.time_millis(), led_pattern);
 
   // Service current state.
   switch (current_state) {

}

void StateIsLongPress::handle() {
  const int t = time_in_state.time_millis();

  // Handle the case were decouncing has not stabalized yet.
  if (!io_button.hasStableValue()) {

}

void StatePressTargetButton::handle() {
  const int t = time_in_current_state.time_millis();

  // TODO: make these numbers consts.
  //
