This commit is contained in:
J. Nick Koston 2023-06-07 15:52:51 -05:00
parent f1845fe9f8
commit 842861faa1
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -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],

View File

@ -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";