arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
21.69k stars 4.72k forks source link

Matter support for Rain sensor #21633

Closed s-hadinger closed 2 weeks ago

s-hadinger commented 2 weeks ago

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