diff --git a/esphome/components/optolink/text_sensor/optolink_text_sensor.cpp b/esphome/components/optolink/text_sensor/optolink_text_sensor.cpp index c65c2459d3..9d362e09b9 100644 --- a/esphome/components/optolink/text_sensor/optolink_text_sensor.cpp +++ b/esphome/components/optolink/text_sensor/optolink_text_sensor.cpp @@ -4,9 +4,6 @@ #include "../optolink.h" #include "esphome/components/api/api_server.h" #include "VitoWiFi.h" -#include -#include -#include namespace esphome { namespace optolink { @@ -30,23 +27,19 @@ bool check_time_values(const Time &time) { } uint8_t *encode_time_string(std::string input) { - std::istringstream iss(input); - std::vector