Add "Door/window contact II [+M]" support#48
Open
Mary-Usagi wants to merge 1 commit intotschamm:masterfrom
Open
Add "Door/window contact II [+M]" support#48Mary-Usagi wants to merge 1 commit intotschamm:masterfrom
Mary-Usagi wants to merge 1 commit intotschamm:masterfrom
Conversation
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.
The Rawscan for the Window Contact 2 [+M] resulted in the following output:
[ { "@type": "device", "rootDeviceId": "<rootDeviceId>", "id": "hdm:ZigBee:b43a31fffe14993d", "deviceServiceIds": [ "CommunicationQuality", "ShutterContact", "BatteryLevel", "Bypass" ], "manufacturer": "BOSCH", "roomId": "hz_1", "deviceModel": "SWD2_DUAL", "serial": "B43A31FFFE14993D", "profile": "REGULAR_WINDOW", "iconId": "icon_tfk_terrace_door", "name": "Window contact II [+M]", "status": "AVAILABLE", "childDeviceIds": [], "supportedProfiles": [], "installationTimestamp": 1737826985404 }, { "@type": "DeviceServiceData", "id": "Bypass", "deviceId": "hdm:ZigBee:b43a31fffe14993d", "state": { "@type": "bypassState", "state": "BYPASS_INACTIVE", "configuration": { "enabled": false, "timeout": 5, "infinite": false } }, "path": "/devices/hdm:ZigBee:b43a31fffe14993d/services/Bypass" }, { "@type": "DeviceServiceData", "id": "ShutterContact", "deviceId": "hdm:ZigBee:b43a31fffe14993d", "state": { "@type": "shutterContactState", "value": "CLOSED" }, "path": "/devices/hdm:ZigBee:b43a31fffe14993d/services/ShutterContact" }, { "@type": "DeviceServiceData", "id": "BatteryLevel", "deviceId": "hdm:ZigBee:b43a31fffe14993d", "path": "/devices/hdm:ZigBee:b43a31fffe14993d/services/BatteryLevel" }, { "@type": "DeviceServiceData", "id": "CommunicationQuality", "deviceId": "hdm:ZigBee:b43a31fffe14993d", "state": { "@type": "communicationQualityState", "quality": "GOOD" }, "path": "/devices/hdm:ZigBee:b43a31fffe14993d/services/CommunicationQuality" } ]It seems to have the same functionalities as ShutterContact2, so I simply added it to the supported models, which worked in my local tests.