There is ENV sensor object. But it does not work, because there is no dht12 and bmp280 modules.
I am not sure if developers test their devices on micropython.
May be, it will be better to use base micropython and add m5 drivers?
This library worked for me