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
Do not enable SHT3x heater by default. Fixes #4886. #5445
Conversation
From my understanding of the previous PR, the heater was always turned on anyway before the PR. Changing the default now would be a breaking change to everyone using it now. |
No, the original PR broke everything. Please see the issue #4886 filed and now the people piling up complaining that the latest release broke things. The heater is only for special use cases. It should not be on for normal use of the sensor, please see data sheet for how it is used. Apparently the original breaking PR author had a device that turned it on by default which is likely undesirable (also, note, not the norm the PR states “on my custom built PCB using the sensirion chips, the heater was enabled by default”) and they needed code to turn it off. Note their comment: "This is a good question. From the different discussions, I understood it should have been turned off by default." The original PR even says to allow disabling the heater. It's very confusing that the default was made to enable it. I would imagine the original PR author was testing with an explicit |
Ok understood. Happy to merge this change in but as its breaking and its easy enough for people to change yaml to false, it wont be released until 2023.10.0 |
Could you also please make a docs PR targeting |
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.
What does this implement/fix?
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 #5161.
Types of changes
Related issue or feature (if applicable): fixes esphome/issues#4886
Pull request in esphome-docs with documentation (if applicable): esphome/esphome-docs#
Test Environment
Checklist:
tests/
folder).If user exposed functionality or configuration variables are added/changed: