Closed s-hadinger closed 2 weeks ago
Matter support for Rain sensor, matched to a Switch, also defined in bridged mode and virtual mode.
Switch
Also includes refactoring to group common code for binary sensors based on Switch. Overall saves a few bytes while adding a new type at the same time.
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass
Description:
Matter support for Rain sensor, matched to a
Switch
, also defined in bridged mode and virtual mode.Also includes refactoring to group common code for binary sensors based on
Switch
. Overall saves a few bytes while adding a new type at the same time.Checklist:
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass