mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00: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:
parent
ada0f7cf65
commit
6b18b92bdd
@ -145,7 +145,7 @@ def _setup_bme680(config):
|
|||||||
os_lookup[config.get(CONF_OVERSAMPLING_TEMP)]
|
os_lookup[config.get(CONF_OVERSAMPLING_TEMP)]
|
||||||
)
|
)
|
||||||
sensor.set_temp_offset(
|
sensor.set_temp_offset(
|
||||||
os_lookup[config.get(CONF_TEMP_OFFSET)]
|
config.get(CONF_TEMP_OFFSET)
|
||||||
)
|
)
|
||||||
sensor.set_humidity_oversample(
|
sensor.set_humidity_oversample(
|
||||||
os_lookup[config.get(CONF_OVERSAMPLING_HUM)]
|
os_lookup[config.get(CONF_OVERSAMPLING_HUM)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user