trvrnrth / esphome-bsec-bme680

ESPHome component for the Bosch BME680 sensor via BSEC providing temperature, humidity, pressure and indoor air quality measurements.
85 stars 17 forks source link

Simplify i2c wrapper #26

Closed trvrnrth closed 3 years ago

trvrnrth commented 3 years ago

There's no need to support reading/writing to different i2c addresses as the bsec instance will always be using the same address as it's parent component.

trvrnrth commented 3 years ago

Of course I remember now why I ended up with the instance map in the first place. I've got no access to this in the static function and no way to pass it through.