feat(add): Gewiss GWA1201 two-way switch #8601
Merged
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.
GWA1201 is a two-way light switch with a push button, two AC inputs and 2 AC outputs controlled by two normal open relays in antiphase (when one output is open, the other is closed or viceversa). It also reports approximate current and energy consumption (but not voltage, apparently) of the load.
https://www.gewiss.com/ww/en/products/product.1000000.1008169.GWA1201
It contains the following endpoints and clusters:
Endpoint 1
Endpoint 20
Endpoint 30
Endpoint 100
Endpoint 110
Endpoint 242
I don't know what more than 3/4 of these clusters do, but the basic functionality is covered with genOnOff, genIdentify and haElectricalMeasurement.
There are also some of these, which I don't know how to suppress:
acVoltageDivisor and acVoltageMultiplier indeed seem to be unsupported attributes, just like rmsVoltage itself.