Add Matter support for White series switches #8
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.
There's still some work to do on this:
mainafter that lands.durations expire. (For Blue switches under ZHA, it's the receival of0x24which corresponds to either all or individual LEDs expiring and is easy to consume via an event handler).Obtaining Parameter Values
We need to determine if it's possible to get the state of various parameters.
ZHA stores these values in sensors (with well known translation keys and unique IDs ending in
-disable_clear_notifications_double_tapand-local_protection).Why it matters: obviously, without the 2x tap to dismiss enabled, the switch doesn't disable the notification. We shouldn't clear it in this case—it should just be left alone. However, with local protection enabled, the switch will send the 2x tap message, but it doesn't disable the notification in this case either. In this case, we should send a message to clear it.
Prior Art & Documentation Resources