Repository navigation
Conversation
The Wing branded TS0203 contact sensor reports manufacturerName "Wing" instead of a _TZ3000_* identifier, so it was not matched by any driver and could not be paired. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Owner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Current situation
A Wing branded door/window contact sensor is not recognised by the app. During pairing Homey reports:
TS0203is already supported by several drivers, but every entry inmanufacturerNameuses a_TZ3000_*/TUYATEC-*identifier. Wing ships this sensor with the plain brand nameWingas the manufacturer name, so no driver matches and the device cannot be added.Wingis a manufacturer name that already shows up for other devices in this app's issue tracker (#1422, #1429 for the Wing ZTH11-3.0 / ZTH13-3.0 sensors), so the plain brand name is what these devices actually report.Change
Adds
Wingto themanufacturerNamelist of thedoorwindowsensordriver — the generic TS0203 driver (alarm_contact+alarm_battery, IAS Zone status notifications). No code changes are needed; the device behaves as a standard IAS Zone contact sensor.drivers/doorwindowsensor/driver.compose.json— addedWingapp.json— regenerated entry to matchREADME.md— added to the supported Door/Windows Sensor listThis follows the precedent of other non-
_TZ-prefixed entries already in the door/window drivers (Immax,Visonic,zbeacon).Notes for the reviewer
Marked as draft: I have the hardware, but I would like confirmation that
doorwindowsensoris the driver you prefer for this one before it is merged.doorwindowsensor_2(addsalarm_tamper) anddoorwindowsensor_3are alternatives; the plaindoorwindowsensordriver was chosen because it is the general TS0203 catch-all and the Wing sensor exposes no tamper contact.🤖 Generated with Claude Code