Drop bme680 os_lookup for temp_offset (#19733)

Drops os_lookup, as it isn't needed to set the temperature offset.
pull/19766/head
ctborg 2019-01-03 13:35:13 -05:00 committed by Martin Hjelmare
parent ada0f7cf65
commit 6b18b92bdd
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ def _setup_bme680(config):
os_lookup[config.get(CONF_OVERSAMPLING_TEMP)]
)
sensor.set_temp_offset(
os_lookup[config.get(CONF_TEMP_OFFSET)]
config.get(CONF_TEMP_OFFSET)
)
sensor.set_humidity_oversample(
os_lookup[config.get(CONF_OVERSAMPLING_HUM)]