Door state log fix
This commit is contained in:
parent
a93d8e407f
commit
1a2d01d8c2
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue