Platform not found: 'sensor.bme280'

Has something changed lately to this sensor. I can not after latest upgrade of HA and esp home not compile the bme280 anymore.

Platform not found: ‘sensor.bme280’.
platform: bme280
temperature:
id: temperature
name: ESP04 Temperature
oversampling: 16x
pressure:
id: pressure
name: ESP04 Pressure
humidity:
id: humidity
name: ESP04 Humidity
address: 118
update_interval: 10s

2 Likes

You should ALWAYS read complete changelog BEFORE updating anything, that includes ESPHome addon. Lacking that and you encounter this problem. That’s why there’s always link to changelog in update window…

There clearly says that BME280 has breaking change: communication via SPI was added, thus you must add “_i2c” at the end.

7 Likes

Than you…works!