From 9b423e3ed0632bafe72304bd79d9c42d27e94173 Mon Sep 17 00:00:00 2001 From: Lorenzo Prosseda Date: Wed, 19 Feb 2025 18:45:05 +0100 Subject: [PATCH] Fix the function declaration in the .h file --- esphome/components/airton/airton.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/airton/airton.h b/esphome/components/airton/airton.h index 1dc4522016..dd545a3b97 100644 --- a/esphome/components/airton/airton.h +++ b/esphome/components/airton/airton.h @@ -90,7 +90,7 @@ class AirtonClimate : public climate_ir::ClimateIR { void set_display_state(bool state, bool send_ir); bool get_display_state() const; void set_vertical_direction_state(VerticalDirection state); - void set_vertical_direction_state(std::string state); + void set_vertical_direction_state(const std::string &state); VerticalDirection get_vertical_direction_state() const; private: