From 9a380288ff23fde86f86dd1189cb729cf7f5c2d8 Mon Sep 17 00:00:00 2001 From: t0urista Date: Mon, 28 Oct 2024 19:06:29 +0100 Subject: [PATCH] Update sensor.py --- esphome/components/bthome/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/bthome/sensor.py b/esphome/components/bthome/sensor.py index 6ffbb33588..288970a624 100644 --- a/esphome/components/bthome/sensor.py +++ b/esphome/components/bthome/sensor.py @@ -81,7 +81,7 @@ async def to_code(config): sens = await sensor.new_sensor(config[CONF_HUMIDITY]) cg.add(parent.set_humidity(sens)) - if CONF_TEMPERATUREE in config: + if CONF_TEMPERATURE in config: sens = await sensor.new_sensor(config[CONF_TEMPERATURE]) cg.add(parent.set_temperature(sens))