mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 17:27:59 +01:00
Update sensor.py
This commit is contained in:
parent
2520f8d4ea
commit
9a380288ff
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue