I haven’t tried only configuring the BME280. Interestingly, when I first put the sensor together (two or three years ago?) the DHT 22 was the only sensor suggested, although reading posts on this forum I can see that it has fallen out of favour recently.
I will remove the DHT as you suggest and let you know how it progresses.
Sensor finally working. As suggested by Jan I have removed the DHT22, but then found that WiFi was no longer operating, so changed the MCU. No idea why the MCU appeared to fail, but have found that when using them they do appear to be a little temperamental.