Door state log fix

This commit is contained in:
Marius Muja 2024-01-16 17:08:07 -08:00
parent a93d8e407f
commit 1a2d01d8c2
1 changed files with 3 additions and 0 deletions

View File

@ -95,6 +95,9 @@ namespace ratgdo {
void RATGDOComponent::received(const DoorState door_state) void RATGDOComponent::received(const DoorState door_state)
{ {
ESP_LOGD(TAG, "Door state=%s", DoorState_to_string(door_state));
auto prev_door_state = *this->door_state; auto prev_door_state = *this->door_state;
ESP_LOGD(TAG, "Door state=%s", DoorState_to_string(door_state)); ESP_LOGD(TAG, "Door state=%s", DoorState_to_string(door_state));