Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-A8 board esphome + Tuya
#3
Friend, I know that, I did the procedure on the license, however, that is not the problem. I posted the image of the error next to it. I would really like your help. ERROR --->

src/esphome/components/tuya_iot/tuya_iot_component.cpp: In the lambda function:
src/esphome/components/tuya_iot/tuya_iot_component.cpp:167:96: error: Invalid initialization of reference of type 'const json_parse_t&' {aka 'const std::function<bool(ArduinoJson6185_D1::ObjectRef)>&'} of the expression of type 'esphome::tuya_iot::TuyaIotComponent:Confusedubscribe_json(const string&, const mqtt_json_callback_t&, uint8_t)::<lambda(const string&, const string&)>::<lambda(ArduinoJson::JsonObject)>'
json::parse_json(payload, [topic, callback](JsonObject root) { callback(topic, root); });
^
In the file included at src/esphome/core/string_ref.h:10, ....
Reply


Messages In This Thread
RE: KC868-A8 board esphome + Tuya - by admin - 11-04-2024, 10:38 AM
RE: KC868-A8 board esphome + Tuya - by gnetinternet@gmail.com - 11-04-2024, 01:21 PM
RE: KC868-A8 board esphome + Tuya - by admin - 11-05-2024, 12:20 AM
RE: KC868-A8 board esphome + Tuya - by admin - 11-06-2024, 03:00 AM
RE: KC868-A8 board esphome + Tuya - by admin - 11-06-2024, 11:43 PM
RE: KC868-A8 board esphome + Tuya - by admin - 11-07-2024, 11:47 PM
RE: KC868-A8 board esphome + Tuya - by admin - 11-19-2024, 10:52 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)