From 0f74a65a2eae4bcb5abeced749351c3995a2d721 Mon Sep 17 00:00:00 2001 From: Florian Hess Date: Mon, 30 Sep 2024 22:57:41 +0200 Subject: [PATCH] Fix --- components/tc_bus/protocol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tc_bus/protocol.h b/components/tc_bus/protocol.h index 1ed0ff2..f658414 100644 --- a/components/tc_bus/protocol.h +++ b/components/tc_bus/protocol.h @@ -49,7 +49,7 @@ namespace esphome CommandData parseCommand(uint32_t command); const char* command_type_to_string(CommandType type); - const CommandType* string_to_command_type(char type); + const CommandType* string_to_command_type(std::string type); } // namespace tc_bus } // namespace esphome \ No newline at end of file