We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 348e440 commit 95eabcbCopy full SHA for 95eabcb
components/ratgdo/secplus1.cpp
@@ -64,7 +64,9 @@ namespace ratgdo {
64
65
void Secplus1::wall_panel_emulation(size_t index)
66
{
67
- if (this->wall_panel_emulation_state_ == WallPanelEmulationState::WAITING) {
+ if (this->wall_panel_starting_) {
68
+ this->wall_panel_emulation_state_ = WallPanelEmulationState::WAITING;
69
+ } else if (this->wall_panel_emulation_state_ == WallPanelEmulationState::WAITING) {
70
ESP_LOGD(TAG, "Looking for security+ 1.0 wall panel...");
71
72
if (this->door_state != DoorState::UNKNOWN || this->light_state != LightState::UNKNOWN) {
0 commit comments