add support for wenzhi wz-m100-w human presence sensor #2776
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.
This device is not correctly identified by Tuya Local, as you can see in the logs:
It nearly matches the device config in
zym100w_presence_sensor.yaml
, but is wrongly detected as a thermostat.I had to change the original scaling for
near_detection
,far_detection
,target_dis_closest
. Alsoilluminance_value
was off by a factor of 10.The
interval_time
data point does not show up in the tuya app, but i added it nonetheless.Data from the device:
dps info: