Skip to content

Commit

Permalink
Do not enable SHT3x heater by default. Fixes esphome#4886.
Browse files Browse the repository at this point in the history
The SHT sensor heater is for special use and defaulting
them to on breaks the vast majority of prior configs and
seems quite surprising. This appears to have been an
inadvertent side effect of PR esphome#5161.
  • Loading branch information
jkl1337 committed Sep 28, 2023
1 parent 1236597 commit e0ab5da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esphome/components/sht3xd/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
device_class=DEVICE_CLASS_HUMIDITY,
state_class=STATE_CLASS_MEASUREMENT,
),
cv.Optional(CONF_HEATER_ENABLED, default=True): cv.boolean,
cv.Optional(CONF_HEATER_ENABLED, default=False): cv.boolean,
},
)
.extend(cv.polling_component_schema("60s"))
Expand Down

0 comments on commit e0ab5da

Please sign in to comment.