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