ESP32 Development board

I have an esp32 development board that I am running as a ble gateway. It keeps hanging on me. How critical is the setting here.
esphome: name: ${device_name} platform: esp32 board: nodemcu-32s

the board specifically. can that cause issues if it isn’t the exact board?

Also I am getting mdns: cannot allocate memory error

As I understand esp32-s only works with the esp-idf framework. ESP32 Platform — ESPHome

Try with another board

Explain why?

Another user had problems with ble gateway.

Changing board fixed it issues

So you got a manufacturer who you think makes bad boards. That is common.

Most users in the community would say what it was that was faulty so that others would be warned.

If you want a good esp32 board go here QuinLED-ESP32 - quinled.info

How many devices are you tracking? When I added a 3rd mi temp sensor I had to increase the stack size (theres an esphome github issue discussing the problem). I get a bunch of build warnings due to re-defining the build flag but the build completes and my sensors work. I have noticed some drop outs in my grafana plots but not all 3 at once and they eventually come back.

esphome:
name: upstairs
platformio_options:
build_flags:
- -DCONFIG_ARDUINO_LOOP_STACK_SIZE=32768

esp32:
board: nodemcu-32s
framework:
type: arduino
#version: 2.0.0