Fix Tuya temp sensors _TZE200_vvmbj46n
, _TZE284_vvmbj46n
#4037
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed change
This PR fixes an issue where various config options would not show up for the following Tuya temperature sensors:
_TZE200_vvmbj46n
(since HA 2025.2.0, Add Tuya sensor_TZE200_vvmbj46n
#3776)_TZE284_vvmbj46n
(since quirksdev
, Add Tuya temp sensor_TZE284_vvmbj46n
variant #4006)This also removes unnecessary "fixing" of negative temperature values for these devices.
Both Tuya spells are also enabled due to Z2M source mentioning this being required (might not be true, but doesn't hurt to enable this).
Affected devices that are not reporting need to be re-paired on a version with this bugfix.
Additional information
Follow-up PR to:
_TZE200_vvmbj46n
#3776_TZE284_vvmbj46n
variant #4006PR is untested, but looking good when comparing to Z2M code.
Checklist
pre-commit
checks pass / the code has been formatted using Black