src/esphome/components/mysentech_m601_m1601_m1820/mysentech_m601_m1601_m1820.cpp: In member function 'virtual void esphome::mysentech_m601_m1601_m1820::MysentechTemperatureSensor::setup()':
src/esphome/components/mysentech_m601_m1601_m1820/mysentech_m601_m1601_m1820.cpp:91:14: error: 'to_underlying' is not a member of 'std'
cfg |= std::to_underlying(this->repeatability_);
^~~~~~~~~~~~~
src/esphome/components/mysentech_m601_m1601_m1820/mysentech_m601_m1601_m1820.cpp:94:14: error: 'to_underlying' is not a member of 'std'
cfg |= std::to_underlying(CfgMps::Single);
^~~~~~~~~~~~~
src/esphome/components/mysentech_m601_m1601_m1820/mysentech_m601_m1601_m1820.cpp:97:14: error: 'to_underlying' is not a member of 'std'
cfg |= std::to_underlying(CfgAlarm:isable);
^~~~~~~~~~~~~
*** [.pioenvs/esp32c3ch340-2-1/src/esphome/components/mysentech_m601_m1601_m1820/mysentech_m601_m1601_m1820.cpp.o] Error 1
不知什么问题