Merge branch 'main' into dev

This commit is contained in:
J. Nick Koston 2023-06-17 20:45:15 -05:00
commit 13d4d025f9
No known key found for this signature in database
4 changed files with 7 additions and 14 deletions

View File

@ -3,9 +3,9 @@
This is a port of the ratgdo software for the v2 board to esphome.
[Visit the github.io page to purchase boards](https://paulwieland.github.io/ratgdo/).
[Visit the github.io page to purchase boards](https://paulwieland.github.io/ratgdo/#order)
This project is not affiliated with RATGDO or Paul Wieland. Please buy his boards to support his excellent work.
This project is not affiliated with ratgdo or Paul Wieland. Please buy his boards to support his excellent work.
# ESPHome config

View File

@ -124,7 +124,7 @@ namespace ratgdo {
ESP_LOGV(TAG, "Motion: %d (toggle)", this->motionState);
} else {
// 0x84 -- is it used?
ESP_LOGV(TAG, "Unknown command: %04x", cmd);
ESP_LOGV(TAG, "Unknown command: cmd=%04x nibble=%02d byte1=%02d byte2=%02d", cmd, nibble, byte1, byte2);
}
return cmd;
}
@ -432,9 +432,6 @@ namespace ratgdo {
return;
}
toggleLight();
// We don't always get the state back so be optimistic
this->previousLightState = this->lightState;
this->lightState = LightState::LIGHT_STATE_ON;
}
void RATGDOComponent::lightOff()
@ -444,9 +441,6 @@ namespace ratgdo {
return;
}
toggleLight();
// We don't always get the state back so be optimistic
this->previousLightState = this->lightState;
this->lightState = LightState::LIGHT_STATE_OFF;
}
void RATGDOComponent::toggleLight()

View File

@ -5,14 +5,13 @@
"keywords": "ratgdo, esphome",
"repository": {
"type": "git",
"url": "https://github.com/bdraco/esphome-ratgdo"
"url": "https://github.com/esphome-ratgdo/esphome-ratgdo"
},
"authors": [],
"license": "GPLv3",
"homepage": "https://github.com/bdraco/esphome-esphome",
"homepage": "https://github.com/esphome-ratgdo/esphome-esphome",
"dependencies": {
"secplus": "*",
"espsoftwareserial": "*"
"secplus": "*"
},
"frameworks": "arduino",
"platforms": "*"

View File

@ -185,7 +185,7 @@
Please support his excellent work by buying his boards.
<a
href="https://paulwieland.github.io/ratgdo/"
href="https://paulwieland.github.io/ratgdo/#order"
>Buy boards from Paul</a>
</p>
</div>