mirror of
https://github.com/esphome/esphome.git
synced 2025-09-12 00:02:21 +01:00
IDF 5 fixes for various components from test1.yaml (#5451)
This commit is contained in:
@@ -53,7 +53,7 @@ void UARTSwitch::write_state(bool state) {
|
||||
void UARTSwitch::dump_config() {
|
||||
LOG_SWITCH("", "UART Switch", this);
|
||||
if (this->send_every_) {
|
||||
ESP_LOGCONFIG(TAG, " Send Every: %u", this->send_every_);
|
||||
ESP_LOGCONFIG(TAG, " Send Every: %" PRIu32, this->send_every_);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -4,6 +4,7 @@
|
||||
#include "esphome/components/uart/uart.h"
|
||||
#include "esphome/components/switch/switch.h"
|
||||
|
||||
#include <cinttypes>
|
||||
#include <vector>
|
||||
|
||||
namespace esphome {
|
||||
|
Reference in New Issue
Block a user