mirror of
https://github.com/home-assistant/core.git
synced 2026-04-29 10:23:46 +02:00
Drop bme680 os_lookup for temp_offset (#19733)
Drops os_lookup, as it isn't needed to set the temperature offset.
This commit is contained in:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user