Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INFO Reading configuration /config/esphome/kitchen-basecabinet.yaml...
- INFO Generating C++ source...
- INFO Compiling app...
- Processing kitchen-basecabinet (board: d1_mini; framework: arduino; platform: platformio/espressif8266 @ 3.2.0)
- --------------------------------------------------------------------------------
- HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB 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
- |-- <AsyncMqttClient-esphome> 0.8.6
- | |-- <ESPAsyncTCP-esphome> 1.2.3
- |-- <ArduinoJson> 6.18.5
- Compiling /data/kitchen-basecabinet/.pioenvs/kitchen-basecabinet/src/main.cpp.o
- src/main.cpp: In function 'void setup()':
- src/main.cpp:484:72: error: expected ')' before ';' token
- 484 | globals_globalvarsetaction->set_value((id(pulses_counted).state) + 50;);
- | ~ ^
- | )
- src/main.cpp:484:73: error: expected primary-expression before ')' token
- 484 | globals_globalvarsetaction->set_value((id(pulses_counted).state) + 50;);
- | ^
- In file included from src/esphome/components/sensor/sensor.h:3,
- from src/esphome/core/application.h:16,
- from src/esphome/components/api/api_connection.h:4,
- from src/esphome.h:3,
- from src/main.cpp:3:
- /config/esphome/kitchen-basecabinet.yaml: In lambda function:
- /config/esphome/kitchen-basecabinet.yaml:109:78: error: request for member 'state' in 'end_pulse_count->esphome::globals::GlobalsComponent<float>::value()', which is of non-class type 'float'
- 109 | ESP_LOGD("main", "Stopping pulses equals %d", id(end_pulse_count).state);
- | ^~~~~
- src/esphome/core/log.h:92:89: note: in definition of macro 'esph_log_d'
- 92 | esp_log_printf_(ESPHOME_LOG_LEVEL_DEBUG, tag, __LINE__, ESPHOME_LOG_FORMAT(format), ##__VA_ARGS__)
- | ^~~~~~~~~~~
- /config/esphome/kitchen-basecabinet.yaml:109:7: note: in expansion of macro 'ESP_LOGD'
- 109 | ESP_LOGD("main", "Stopping pulses equals %d", id(end_pulse_count).state);
- | ^ ~~
- *** [/data/kitchen-basecabinet/.pioenvs/kitchen-basecabinet/src/main.cpp.o] Error 1
- ========================= [FAILED] Took 12.43 seconds =========================
Add Comment
Please, Sign In to add comment