Changed from 40 milliseconds to 30 milliseconds. Issue with double trigger/action appears to be no more.
@@ -7,7 +7,7 @@ long code = 0;
int count = 0;
bool repeat = false;
int parse_item = 0;
-const int CODE_DELAY = 40;
+const int CODE_DELAY = 30;
void reset_code() {
code = 0;