esp32: board: nodemcu-32s variant: esp32 framework: type: arduino version: 2.0.2 source: https://github.com/espressif/arduino-esp32.git#2.0.2 platform_version: https://github.com/platformio/platform-espressif32.git#feature/arduino-upstream esphome: platformio_options: build_flags: - -DCONFIG_ARDUINO_LOOP_STACK_SIZE=32768 name: ${devicename} # Enable logging logger: # Time is managed via SNTP # Enable Home Assistant API api: reboot_timeout: 15min ota: binary_sensor: - <<: !include binary_sensor/status_sensor.config.yaml button: - <<: !include button/restart_button.config.yaml sensor: - <<: !include sensor/uptime_sensor.config.yaml #text_sensor: # - <<: !include text_sensor/version_sensor.config.yaml