New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SHT3x now enables heater by default #4886
Comments
I just updated to 2023.9 and with no other changes the temperature sensor in my AirGradient box using the same sensor reads 15 *F higher. This may be the cause for me too and I will test. |
Returning back reporting the same thing - manually setting |
This was referenced Sep 29, 2023
jkl1337
added a commit
to jkl1337/esphome
that referenced
this issue
Sep 29, 2023
Fixes esphome/issues#4886. 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.
No wonder all my sensors were off! Thank you for the fix. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The problem
PR #5161 seems to enable the sensor heater by default despite its title:
cv.Optional(CONF_HEATER_ENABLED, default=True): cv.boolean
, and laterif (!this->write_command(heater_enabled_ ? SHT3XD_COMMAND_HEATER_ENABLE : SHT3XD_COMMAND_HEATER_DISABLE)) {
Which version of ESPHome has the issue?
2023.10.0-dev
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
No response
What platform are you using?
ESP8266
Board
No response
Component causing the issue
sht3xd
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
This can be worked around by setting
heater_enabled: false
, but I don't see the need for a breaking change.However there in general there is no way to make a piece of code that changes a setting where previously no forced setting code existed non-breaking to someone. However I think the heater off is the reasonable setting for the majority of users.
The text was updated successfully, but these errors were encountered: