diff --git a/components/awox_mesh/awox_mesh.cpp b/components/awox_mesh/awox_mesh.cpp index 8e38af7..ce787d4 100644 --- a/components/awox_mesh/awox_mesh.cpp +++ b/components/awox_mesh/awox_mesh.cpp @@ -169,7 +169,7 @@ void AwoxMesh::loop() { if (publish.online == publish.device->online) { this->publish_availability(publish.device, false); } else { - ESP_LOGD(TAG, "Skipped publishing availability for %u - %s (is currently %s)", publish.device->mesh_id, + ESP_LOGD(TAG, "Skipped publishing availability for %u - %s (is currently %s again)", publish.device->mesh_id, publish.online ? "Online" : "Offline", publish.device->online ? "Online" : "Offline"); } } diff --git a/components/awox_mesh/awox_mesh_mqtt.cpp b/components/awox_mesh/awox_mesh_mqtt.cpp index a76eb03..6642d56 100644 --- a/components/awox_mesh/awox_mesh_mqtt.cpp +++ b/components/awox_mesh/awox_mesh_mqtt.cpp @@ -114,7 +114,7 @@ void AwoxMeshMqtt::publish_availability(Device *device) { this->last_published_availability_[device->dest()] = device->online; const std::string message = device->online ? "online" : "offline"; - ESP_LOGI(TAG, "Publish online/offline for %u - %s", device->mesh_id, message.c_str()); + ESP_LOGI(TAG, "Publish online/offline for device %u - %s", device->mesh_id, message.c_str()); global_mqtt_client->publish(this->get_mqtt_topic_for_(device, "availability"), message, 0, true); }