geoffdavis / esphome-mitsubishiheatpump

ESPHome Climate Component for Mitsubishi Heatpumps using direct serial connection
BSD 2-Clause "Simplified" License
583 stars 156 forks source link

mitsubishiheatpump + neopixelbus = compile error :( #92

Open joeltrondotcom opened 1 year ago

joeltrondotcom commented 1 year ago

Trying to get mitsubishiheatpump and neopixelbus working together in one esphome esp8266.

Independently, they both work great on the same device - however, when I try and include them both it spits out "error: call of overloaded 'micros()' is ambiguous"

Relevant Esphome v2022.12.8 yaml: `light:

climate:

Full output when compiling: HARDWARE: ESP8266 80MHz, 80KB RAM, 1MB Flash LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf Dependency Graph |-- ESPAsyncTCP-esphome @ 1.2.3 |-- ESPAsyncWebServer-esphome @ 2.1.0 | |-- ESPAsyncTCP-esphome @ 1.2.3 | |-- Hash @ 1.0 | |-- ESP8266WiFi @ 1.0 |-- DNSServer @ 1.1.1 |-- ESP8266WiFi @ 1.0 |-- ESP8266mDNS @ 1.2 |-- noise-c @ 0.1.4 | |-- libsodium @ 1.10018.1 |-- AsyncMqttClient-esphome @ 0.8.6 | |-- ESPAsyncTCP-esphome @ 1.2.3 |-- ArduinoJson @ 6.18.5 |-- NeoPixelBus @ 2.6.9 | |-- SPI @ 1.0 |-- HeatPump @ 1.0.0+sha.1e7e596 Compiling .pioenvs/living-room-aircon/src/esphome/components/mitsubishi_heatpump/espmhp.cpp.o Compiling .pioenvs/living-room-aircon/src/esphome/components/web_server/list_entities.cpp.o Compiling .pioenvs/living-room-aircon/src/esphome/components/web_server/web_server.cpp.o Compiling .pioenvs/living-room-aircon/src/esphome/components/web_server_base/web_server_base.cpp.o Compiling .pioenvs/living-room-aircon/src/esphome/components/wifi/wifi_component.cpp.o Compiling .pioenvs/living-room-aircon/src/esphome/components/wifi/wifi_component_esp32_arduino.cpp.o In file included from .piolibdeps/living-room-aircon/NeoPixelBus/src/NeoPixelBus.h:96, from src/esphome/components/neopixelbus/neopixelbus_light.h:12, from src/esphome.h:73, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/Ws2801GenericMethod.h: In member function 'bool Ws2801MethodBase<T_TWOWIRE>::IsReadyToUpdate() const': .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/Ws2801GenericMethod.h:64:33: error: call of overloaded 'micros()' is ambiguous 64 | uint32_t delta = micros() - _endTime; | ^ In file included from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/PolledTimeout.h:29, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Stream.h:28, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Udp.h:38, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src/WiFiUdp.h:25, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/DNSServer/src/DNSServer.h:3, from src/esphome/components/captive_portal/captive_portal.h:6, from src/esphome.h:19, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/core_esp8266_features.h:103:15: note: candidate: 'long unsigned int micros()' 103 | unsigned long micros(void); | ^~~~~~ In file included from src/esphome/components/light/light_transformer.h:4, from src/esphome/components/light/light_state.h:11, from src/esphome/core/controller.h:11, from src/esphome/components/api/api_server.h:4, from src/esphome/components/api/api_connection.h:6, from src/esphome.h:3, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: src/esphome/core/hal.h:38:10: note: candidate: 'uint32_t esphome::micros()' 38 | uint32_t micros(); | ^~~~~~ In file included from .piolibdeps/living-room-aircon/NeoPixelBus/src/NeoPixelBus.h:96, from src/esphome/components/neopixelbus/neopixelbus_light.h:12, from src/esphome.h:73, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/Ws2801GenericMethod.h: In member function 'void Ws2801MethodBase<T_TWOWIRE>::Initialize()': .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/Ws2801GenericMethod.h:82:27: error: call of overloaded 'micros()' is ambiguous 82 | _endTime = micros(); | ^ In file included from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/PolledTimeout.h:29, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Stream.h:28, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Udp.h:38, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src/WiFiUdp.h:25, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/DNSServer/src/DNSServer.h:3, from src/esphome/components/captive_portal/captive_portal.h:6, from src/esphome.h:19, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/core_esp8266_features.h:103:15: note: candidate: 'long unsigned int micros()' 103 | unsigned long micros(void); | ^~~~~~ In file included from src/esphome/components/light/light_transformer.h:4, from src/esphome/components/light/light_state.h:11, from src/esphome/core/controller.h:11, from src/esphome/components/api/api_server.h:4, from src/esphome/components/api/api_connection.h:6, from src/esphome.h:3, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: src/esphome/core/hal.h:38:10: note: candidate: 'uint32_t esphome::micros()' 38 | uint32_t micros(); | ^~~~~~ In file included from .piolibdeps/living-room-aircon/NeoPixelBus/src/NeoPixelBus.h:96, from src/esphome/components/neopixelbus/neopixelbus_light.h:12, from src/esphome.h:73, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/Ws2801GenericMethod.h: In member function 'void Ws2801MethodBase<T_TWOWIRE>::Update(bool)': .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/Ws2801GenericMethod.h:90:19: error: call of overloaded 'yield()' is ambiguous 90 | yield(); // allows for system yield if needed | ^ In file included from .piolibdeps/living-room-aircon/ESPAsyncWebServer-esphome/src/ESPAsyncWebServer.h:24, from src/esphome/components/web_server_base/web_server_base.h:11, from src/esphome/components/captive_portal/captive_portal.h:10, from src/esphome.h:19, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Arduino.h:193:6: note: candidate: 'void yield()' 193 | void yield(void); | ^~~~~ In file included from src/esphome/components/light/light_transformer.h:4, from src/esphome/components/light/light_state.h:11, from src/esphome/core/controller.h:11, from src/esphome/components/api/api_server.h:4, from src/esphome/components/api/api_connection.h:6, from src/esphome.h:3, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: src/esphome/core/hal.h:36:6: note: candidate: 'void esphome::yield()' 36 | void yield(); | ^~~~~ In file included from .piolibdeps/living-room-aircon/NeoPixelBus/src/NeoPixelBus.h:96, from src/esphome/components/neopixelbus/neopixelbus_light.h:12, from src/esphome.h:73, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/Ws2801GenericMethod.h:102:27: error: call of overloaded 'micros()' is ambiguous 102 | _endTime = micros(); | ^ In file included from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/PolledTimeout.h:29, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Stream.h:28, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Udp.h:38, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src/WiFiUdp.h:25, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/DNSServer/src/DNSServer.h:3, from src/esphome/components/captive_portal/captive_portal.h:6, from src/esphome.h:19, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/core_esp8266_features.h:103:15: note: candidate: 'long unsigned int micros()' 103 | unsigned long micros(void); | ^~~~~~ In file included from src/esphome/components/light/light_transformer.h:4, from src/esphome/components/light/light_state.h:11, from src/esphome/core/controller.h:11, from src/esphome/components/api/api_server.h:4, from src/esphome/components/api/api_connection.h:6, from src/esphome.h:3, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: src/esphome/core/hal.h:38:10: note: candidate: 'uint32_t esphome::micros()' 38 | uint32_t micros(); | ^~~~~~ In file included from .piolibdeps/living-room-aircon/NeoPixelBus/src/NeoPixelBus.h:101, from src/esphome/components/neopixelbus/neopixelbus_light.h:12, from src/esphome.h:73, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEsp8266DmaMethod.h: In destructor 'NeoEsp8266DmaMethodBase<T_SPEED>::~NeoEsp8266DmaMethodBase()': .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEsp8266DmaMethod.h:343:19: error: call of overloaded 'yield()' is ambiguous 343 | yield(); | ^ In file included from .piolibdeps/living-room-aircon/ESPAsyncWebServer-esphome/src/ESPAsyncWebServer.h:24, from src/esphome/components/web_server_base/web_server_base.h:11, from src/esphome/components/captive_portal/captive_portal.h:10, from src/esphome.h:19, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Arduino.h:193:6: note: candidate: 'void yield()' 193 | void yield(void); | ^~~~~ In file included from src/esphome/components/light/light_transformer.h:4, from src/esphome/components/light/light_state.h:11, from src/esphome/core/controller.h:11, from src/esphome/components/api/api_server.h:4, from src/esphome/components/api/api_connection.h:6, from src/esphome.h:3, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: src/esphome/core/hal.h:36:6: note: candidate: 'void esphome::yield()' 36 | void yield(); | ^~~~~ In file included from .piolibdeps/living-room-aircon/NeoPixelBus/src/NeoPixelBus.h:101, from src/esphome/components/neopixelbus/neopixelbus_light.h:12, from src/esphome.h:73, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEsp8266DmaMethod.h:348:32: error: call of overloaded 'micros()' is ambiguous 348 | uint32_t time = micros(); | ^ In file included from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/PolledTimeout.h:29, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Stream.h:28, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Udp.h:38, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src/WiFiUdp.h:25, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/DNSServer/src/DNSServer.h:3, from src/esphome/components/captive_portal/captive_portal.h:6, from src/esphome.h:19, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/core_esp8266_features.h:103:15: note: candidate: 'long unsigned int micros()' 103 | unsigned long micros(void); | ^~~~~~ In file included from src/esphome/components/light/light_transformer.h:4, from src/esphome/components/light/light_state.h:11, from src/esphome/core/controller.h:11, from src/esphome/components/api/api_server.h:4, from src/esphome/components/api/api_connection.h:6, from src/esphome.h:3, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: src/esphome/core/hal.h:38:10: note: candidate: 'uint32_t esphome::micros()' 38 | uint32_t micros(); | ^~~~~~ In file included from .piolibdeps/living-room-aircon/NeoPixelBus/src/NeoPixelBus.h:101, from src/esphome/components/neopixelbus/neopixelbus_light.h:12, from src/esphome.h:73, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEsp8266DmaMethod.h:349:24: error: call of overloaded 'micros()' is ambiguous 349 | while ((micros() - time) < ((getPixelTime() + T_SPEED::ResetTimeUs) * waits)) | ^ In file included from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/PolledTimeout.h:29, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Stream.h:28, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Udp.h:38, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src/WiFiUdp.h:25, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/DNSServer/src/DNSServer.h:3, from src/esphome/components/captive_portal/captive_portal.h:6, from src/esphome.h:19, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/core_esp8266_features.h:103:15: note: candidate: 'long unsigned int micros()' 103 | unsigned long micros(void); | ^~~~~~ In file included from src/esphome/components/light/light_transformer.h:4, from src/esphome/components/light/light_state.h:11, from src/esphome/core/controller.h:11, from src/esphome/components/api/api_server.h:4, from src/esphome/components/api/api_connection.h:6, from src/esphome.h:3, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: src/esphome/core/hal.h:38:10: note: candidate: 'uint32_t esphome::micros()' 38 | uint32_t micros(); | ^~~~~~ In file included from .piolibdeps/living-room-aircon/NeoPixelBus/src/NeoPixelBus.h:101, from src/esphome/components/neopixelbus/neopixelbus_light.h:12, from src/esphome.h:73, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEsp8266DmaMethod.h:351:19: error: call of overloaded 'yield()' is ambiguous 351 | yield(); | ^ In file included from .piolibdeps/living-room-aircon/ESPAsyncWebServer-esphome/src/ESPAsyncWebServer.h:24, from src/esphome/components/web_server_base/web_server_base.h:11, from src/esphome/components/captive_portal/captive_portal.h:10, from src/esphome.h:19, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Arduino.h:193:6: note: candidate: 'void yield()' 193 | void yield(void); | ^~~~~ In file included from src/esphome/components/light/light_transformer.h:4, from src/esphome/components/light/light_state.h:11, from src/esphome/core/controller.h:11, from src/esphome/components/api/api_server.h:4, from src/esphome/components/api/api_connection.h:6, from src/esphome.h:3, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: src/esphome/core/hal.h:36:6: note: candidate: 'void esphome::yield()' 36 | void yield(); | ^~~~~ In file included from .piolibdeps/living-room-aircon/NeoPixelBus/src/NeoPixelBus.h:101, from src/esphome/components/neopixelbus/neopixelbus_light.h:12, from src/esphome.h:73, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEsp8266DmaMethod.h: In member function 'void NeoEsp8266DmaMethodBase<T_SPEED>::Update(bool)': .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEsp8266DmaMethod.h:484:19: error: call of overloaded 'yield()' is ambiguous 484 | yield(); | ^ In file included from .piolibdeps/living-room-aircon/ESPAsyncWebServer-esphome/src/ESPAsyncWebServer.h:24, from src/esphome/components/web_server_base/web_server_base.h:11, from src/esphome/components/captive_portal/captive_portal.h:10, from src/esphome.h:19, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Arduino.h:193:6: note: candidate: 'void yield()' 193 | void yield(void); | ^~~~~ In file included from src/esphome/components/light/light_transformer.h:4, from src/esphome/components/light/light_state.h:11, from src/esphome/core/controller.h:11, from src/esphome/components/api/api_server.h:4, from src/esphome/components/api/api_connection.h:6, from src/esphome.h:3, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: src/esphome/core/hal.h:36:6: note: candidate: 'void esphome::yield()' 36 | void yield(); | ^~~~~ In file included from .piolibdeps/living-room-aircon/NeoPixelBus/src/NeoPixelBus.h:102, from src/esphome/components/neopixelbus/neopixelbus_light.h:12, from src/esphome.h:73, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEsp8266UartMethod.h: In destructor 'NeoEsp8266Uart<T_UARTFEATURE, T_UARTCONTEXT>::~NeoEsp8266Uart()': .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEsp8266UartMethod.h:182:19: error: call of overloaded 'yield()' is ambiguous 182 | yield(); | ^ In file included from .piolibdeps/living-room-aircon/ESPAsyncWebServer-esphome/src/ESPAsyncWebServer.h:24, from src/esphome/components/web_server_base/web_server_base.h:11, from src/esphome/components/captive_portal/captive_portal.h:10, from src/esphome.h:19, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Arduino.h:193:6: note: candidate: 'void yield()' 193 | void yield(void); | ^~~~~ In file included from src/esphome/components/light/light_transformer.h:4, from src/esphome/components/light/light_state.h:11, from src/esphome/core/controller.h:11, from src/esphome/components/api/api_server.h:4, from src/esphome/components/api/api_connection.h:6, from src/esphome.h:3, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: src/esphome/core/hal.h:36:6: note: candidate: 'void esphome::yield()' 36 | void yield(); | ^~~~~ In file included from .piolibdeps/living-room-aircon/NeoPixelBus/src/NeoPixelBus.h:102, from src/esphome/components/neopixelbus/neopixelbus_light.h:12, from src/esphome.h:73, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEsp8266UartMethod.h: In member function 'void NeoEsp8266Uart<T_UARTFEATURE, T_UARTCONTEXT>::UpdateUart(bool)': .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEsp8266UartMethod.h:197:29: error: call of overloaded 'micros()' is ambiguous 197 | _startTime = micros(); | ^ In file included from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/PolledTimeout.h:29, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Stream.h:28, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Udp.h:38, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src/WiFiUdp.h:25, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/DNSServer/src/DNSServer.h:3, from src/esphome/components/captive_portal/captive_portal.h:6, from src/esphome.h:19, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/core_esp8266_features.h:103:15: note: candidate: 'long unsigned int micros()' 103 | unsigned long micros(void); | ^~~~~~ In file included from src/esphome/components/light/light_transformer.h:4, from src/esphome/components/light/light_state.h:11, from src/esphome/core/controller.h:11, from src/esphome/components/api/api_server.h:4, from src/esphome/components/api/api_connection.h:6, from src/esphome.h:3, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: src/esphome/core/hal.h:38:10: note: candidate: 'uint32_t esphome::micros()' 38 | uint32_t micros(); | ^~~~~~ In file included from .piolibdeps/living-room-aircon/NeoPixelBus/src/NeoPixelBus.h:102, from src/esphome/components/neopixelbus/neopixelbus_light.h:12, from src/esphome.h:73, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEsp8266UartMethod.h: In destructor 'NeoEsp8266AsyncUart<T_UARTFEATURE, T_UARTCONTEXT>::~NeoEsp8266AsyncUart()': .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEsp8266UartMethod.h:236:19: error: call of overloaded 'yield()' is ambiguous 236 | yield(); | ^ In file included from .piolibdeps/living-room-aircon/ESPAsyncWebServer-esphome/src/ESPAsyncWebServer.h:24, from src/esphome/components/web_server_base/web_server_base.h:11, from src/esphome/components/captive_portal/captive_portal.h:10, from src/esphome.h:19, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Arduino.h:193:6: note: candidate: 'void yield()' 193 | void yield(void); | ^~~~~ In file included from src/esphome/components/light/light_transformer.h:4, from src/esphome/components/light/light_state.h:11, from src/esphome/core/controller.h:11, from src/esphome/components/api/api_server.h:4, from src/esphome/components/api/api_connection.h:6, from src/esphome.h:3, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: src/esphome/core/hal.h:36:6: note: candidate: 'void esphome::yield()' 36 | void yield(); | ^~~~~ In file included from .piolibdeps/living-room-aircon/NeoPixelBus/src/NeoPixelBus.h:102, from src/esphome/components/neopixelbus/neopixelbus_light.h:12, from src/esphome.h:73, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEsp8266UartMethod.h: In member function 'void NeoEsp8266AsyncUart<T_UARTFEATURE, T_UARTCONTEXT>::UpdateUart(bool)': .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEsp8266UartMethod.h:260:29: error: call of overloaded 'micros()' is ambiguous 260 | _startTime = micros(); | ^ In file included from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/PolledTimeout.h:29, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Stream.h:28, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Udp.h:38, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src/WiFiUdp.h:25, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/DNSServer/src/DNSServer.h:3, from src/esphome/components/captive_portal/captive_portal.h:6, from src/esphome.h:19, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/core_esp8266_features.h:103:15: note: candidate: 'long unsigned int micros()' 103 | unsigned long micros(void); | ^~~~~~ In file included from src/esphome/components/light/light_transformer.h:4, from src/esphome/components/light/light_state.h:11, from src/esphome/core/controller.h:11, from src/esphome/components/api/api_server.h:4, from src/esphome/components/api/api_connection.h:6, from src/esphome.h:3, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: src/esphome/core/hal.h:38:10: note: candidate: 'uint32_t esphome::micros()' 38 | uint32_t micros(); | ^~~~~~ In file included from .piolibdeps/living-room-aircon/NeoPixelBus/src/NeoPixelBus.h:102, from src/esphome/components/neopixelbus/neopixelbus_light.h:12, from src/esphome.h:73, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEsp8266UartMethod.h: In member function 'bool NeoEsp8266UartMethodBase<T_SPEED, T_BASE, T_INVERT>::IsReadyToUpdate() const': .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEsp8266UartMethod.h:369:33: error: call of overloaded 'micros()' is ambiguous 369 | uint32_t delta = micros() - this->_startTime; | ^ In file included from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/PolledTimeout.h:29, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Stream.h:28, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Udp.h:38, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src/WiFiUdp.h:25, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/DNSServer/src/DNSServer.h:3, from src/esphome/components/captive_portal/captive_portal.h:6, from src/esphome.h:19, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/core_esp8266_features.h:103:15: note: candidate: 'long unsigned int micros()' 103 | unsigned long micros(void); | ^~~~~~ In file included from src/esphome/components/light/light_transformer.h:4, from src/esphome/components/light/light_state.h:11, from src/esphome/core/controller.h:11, from src/esphome/components/api/api_server.h:4, from src/esphome/components/api/api_connection.h:6, from src/esphome.h:3, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: src/esphome/core/hal.h:38:10: note: candidate: 'uint32_t esphome::micros()' 38 | uint32_t micros(); | ^~~~~~ In file included from .piolibdeps/living-room-aircon/NeoPixelBus/src/NeoPixelBus.h:102, from src/esphome/components/neopixelbus/neopixelbus_light.h:12, from src/esphome.h:73, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEsp8266UartMethod.h: In member function 'void NeoEsp8266UartMethodBase<T_SPEED, T_BASE, T_INVERT>::Initialize()': .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEsp8266UartMethod.h:381:35: error: call of overloaded 'micros()' is ambiguous 381 | this->_startTime = micros() - getPixelTime(); | ^ In file included from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/PolledTimeout.h:29, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Stream.h:28, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Udp.h:38, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src/WiFiUdp.h:25, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/DNSServer/src/DNSServer.h:3, from src/esphome/components/captive_portal/captive_portal.h:6, from src/esphome.h:19, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/core_esp8266_features.h:103:15: note: candidate: 'long unsigned int micros()' 103 | unsigned long micros(void); | ^~~~~~ In file included from src/esphome/components/light/light_transformer.h:4, from src/esphome/components/light/light_state.h:11, from src/esphome/core/controller.h:11, from src/esphome/components/api/api_server.h:4, from src/esphome/components/api/api_connection.h:6, from src/esphome.h:3, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: src/esphome/core/hal.h:38:10: note: candidate: 'uint32_t esphome::micros()' 38 | uint32_t micros(); | ^~~~~~ In file included from .piolibdeps/living-room-aircon/NeoPixelBus/src/NeoPixelBus.h:102, from src/esphome/components/neopixelbus/neopixelbus_light.h:12, from src/esphome.h:73, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEsp8266UartMethod.h: In member function 'void NeoEsp8266UartMethodBase<T_SPEED, T_BASE, T_INVERT>::Update(bool)': .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEsp8266UartMethod.h:394:19: error: call of overloaded 'yield()' is ambiguous 394 | yield(); | ^ In file included from .piolibdeps/living-room-aircon/ESPAsyncWebServer-esphome/src/ESPAsyncWebServer.h:24, from src/esphome/components/web_server_base/web_server_base.h:11, from src/esphome/components/captive_portal/captive_portal.h:10, from src/esphome.h:19, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Arduino.h:193:6: note: candidate: 'void yield()' 193 | void yield(void); | ^~~~~ In file included from src/esphome/components/light/light_transformer.h:4, from src/esphome/components/light/light_state.h:11, from src/esphome/core/controller.h:11, from src/esphome/components/api/api_server.h:4, from src/esphome/components/api/api_connection.h:6, from src/esphome.h:3, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: src/esphome/core/hal.h:36:6: note: candidate: 'void esphome::yield()' 36 | void yield(); | ^~~~~ In file included from .piolibdeps/living-room-aircon/NeoPixelBus/src/NeoPixelBus.h:103, from src/esphome/components/neopixelbus/neopixelbus_light.h:12, from src/esphome.h:73, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEspBitBangMethod.h: In member function 'bool NeoEspBitBangMethodBase<T_SPEED, T_PINSET>::IsReadyToUpdate() const': .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEspBitBangMethod.h:246:33: error: call of overloaded 'micros()' is ambiguous 246 | uint32_t delta = micros() - _endTime; | ^ In file included from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/PolledTimeout.h:29, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Stream.h:28, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Udp.h:38, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src/WiFiUdp.h:25, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/DNSServer/src/DNSServer.h:3, from src/esphome/components/captive_portal/captive_portal.h:6, from src/esphome.h:19, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/core_esp8266_features.h:103:15: note: candidate: 'long unsigned int micros()' 103 | unsigned long micros(void); | ^~~~~~ In file included from src/esphome/components/light/light_transformer.h:4, from src/esphome/components/light/light_state.h:11, from src/esphome/core/controller.h:11, from src/esphome/components/api/api_server.h:4, from src/esphome/components/api/api_connection.h:6, from src/esphome.h:3, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: src/esphome/core/hal.h:38:10: note: candidate: 'uint32_t esphome::micros()' 38 | uint32_t micros(); | ^~~~~~ In file included from .piolibdeps/living-room-aircon/NeoPixelBus/src/NeoPixelBus.h:103, from src/esphome/components/neopixelbus/neopixelbus_light.h:12, from src/esphome.h:73, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEspBitBangMethod.h: In member function 'void NeoEspBitBangMethodBase<T_SPEED, T_PINSET>::Initialize()': .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEspBitBangMethod.h:255:27: error: call of overloaded 'micros()' is ambiguous 255 | _endTime = micros(); | ^ In file included from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/PolledTimeout.h:29, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Stream.h:28, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Udp.h:38, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src/WiFiUdp.h:25, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/DNSServer/src/DNSServer.h:3, from src/esphome/components/captive_portal/captive_portal.h:6, from src/esphome.h:19, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/core_esp8266_features.h:103:15: note: candidate: 'long unsigned int micros()' 103 | unsigned long micros(void); | ^~~~~~ In file included from src/esphome/components/light/light_transformer.h:4, from src/esphome/components/light/light_state.h:11, from src/esphome/core/controller.h:11, from src/esphome/components/api/api_server.h:4, from src/esphome/components/api/api_connection.h:6, from src/esphome.h:3, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: src/esphome/core/hal.h:38:10: note: candidate: 'uint32_t esphome::micros()' 38 | uint32_t micros(); | ^~~~~~ In file included from .piolibdeps/living-room-aircon/NeoPixelBus/src/NeoPixelBus.h:103, from src/esphome/components/neopixelbus/neopixelbus_light.h:12, from src/esphome.h:73, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEspBitBangMethod.h: In member function 'void NeoEspBitBangMethodBase<T_SPEED, T_PINSET>::Update(bool)': .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEspBitBangMethod.h:268:19: error: call of overloaded 'yield()' is ambiguous 268 | yield(); // allows for system yield if needed | ^ In file included from .piolibdeps/living-room-aircon/ESPAsyncWebServer-esphome/src/ESPAsyncWebServer.h:24, from src/esphome/components/web_server_base/web_server_base.h:11, from src/esphome/components/captive_portal/captive_portal.h:10, from src/esphome.h:19, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Arduino.h:193:6: note: candidate: 'void yield()' 193 | void yield(void); | ^~~~~ In file included from src/esphome/components/light/light_transformer.h:4, from src/esphome/components/light/light_state.h:11, from src/esphome/core/controller.h:11, from src/esphome/components/api/api_server.h:4, from src/esphome/components/api/api_connection.h:6, from src/esphome.h:3, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: src/esphome/core/hal.h:36:6: note: candidate: 'void esphome::yield()' 36 | void yield(); | ^~~~~ In file included from .piolibdeps/living-room-aircon/NeoPixelBus/src/NeoPixelBus.h:103, from src/esphome/components/neopixelbus/neopixelbus_light.h:12, from src/esphome.h:73, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: .piolibdeps/living-room-aircon/NeoPixelBus/src/internal/NeoEspBitBangMethod.h:290:27: error: call of overloaded 'micros()' is ambiguous 290 | _endTime = micros(); | ^ In file included from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/PolledTimeout.h:29, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Stream.h:28, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/Udp.h:38, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src/WiFiUdp.h:25, from /config/.esphome/platformio/packages/framework-arduinoespressif8266/libraries/DNSServer/src/DNSServer.h:3, from src/esphome/components/captive_portal/captive_portal.h:6, from src/esphome.h:19, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: /config/.esphome/platformio/packages/framework-arduinoespressif8266/cores/esp8266/core_esp8266_features.h:103:15: note: candidate: 'long unsigned int micros()' 103 | unsigned long micros(void); | ^~~~~~ In file included from src/esphome/components/light/light_transformer.h:4, from src/esphome/components/light/light_state.h:11, from src/esphome/core/controller.h:11, from src/esphome/components/api/api_server.h:4, from src/esphome/components/api/api_connection.h:6, from src/esphome.h:3, from src/esphome/components/mitsubishi_heatpump/espmhp.h:20, from src/esphome/components/mitsubishi_heatpump/espmhp.cpp:20: src/esphome/core/hal.h:38:10: note: candidate: 'uint32_t esphome::micros()' 38 | uint32_t micros(); | ^~~~~~ *** [.pioenvs/living-room-aircon/src/esphome/components/mitsubishi_heatpump/espmhp.cpp.o] Error 1