DHT22 Invalid readings! Please check your wiring (pull-up resistor, pin number)

First read this. Don’t post screen shots of yaml or logs. Post the text, in full, enclosed in formatted text tags (see note 11)

Your problem may be that GPIO01 is not a recommended pin for input, either on ESP8266 or ESP32. These are good references for older boards:

Maybe try a different pin.