I2C: Error during setup of component bme280

Hi all. I am having the exact same problem here. I’m on core-2021.11.4 and the bme280 component doesn’t load:

Logger: homeassistant.setup
Source: components/bme280/init.py:90
First occurred: 12:47:06 (1 occurrences)
Last logged: 12:47:06

Error during setup of component bme280
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 254, in _async_setup_component
result = await task
File “/usr/src/homeassistant/homeassistant/components/bme280/init.py”, line 90, in async_setup
bme280_config = config[DOMAIN]
KeyError: ‘bme280’

Any pointers to where I could start to look? I’m using the exact same setup as documented here (with corrected sensor address 0x76 of course)

Edit just to confirm: I followed the i2c setup instructions from here and it seems i2c is correctly initialized
image