diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index 4f762cc..a2d058b 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -262,7 +262,7 @@ namespace ratgdo { void RATGDOComponent::printRollingCode() { - ESP_LOGD(TAG, "Counter: %d Send code: [%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x][%02x]", + ESP_LOGD(TAG, "Counter: %d Send code: [%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X]", this->rollingCodeCounter, this->txRollingCode[0], this->txRollingCode[1], diff --git a/components/ratgdo/ratgdo_state.cpp b/components/ratgdo/ratgdo_state.cpp index 500d5b0..2d54479 100644 --- a/components/ratgdo/ratgdo_state.cpp +++ b/components/ratgdo/ratgdo_state.cpp @@ -31,6 +31,7 @@ namespace ratgdo { return "OFF"; case LIGHT_STATE_ON: return "ON"; + // 2 and 3 appears sometimes case LIGHT_STATE_UNKNOWN: default: return "UNKNOWN";