[Matter] Add support for Water Valve device type

Author: lboueCreated Aug 24, 2026Updated Sep 30, 2026
LabelsType: Feature requestArea: Matter

Related area

Matter

Hardware specification

All Boards

Is your feature request related to a problem?

No

Describe the solution you'd like

The Arduino-ESP32 Matter library currently exposes plug/outlet-style endpoints such as MatterOnOffPlugin and MatterDimmablePlugin, as well as closure-type endpoints such as MatterWindowCovering, but there is no MatterWaterValve endpoint class.

The Water Valve device type (0x0042) is part of the Matter specification and is already implemented in Espressif's esp-matter SDK (listed under "Smart Plugs/Outlets" in SUPPORTED_DEVICE_TYPES.md, via the Valve Configuration and Control cluster). It would be very useful to expose it as a high-level MatterWaterValve class in the Arduino Matter library, following the same pattern used for the other endpoint classes (e.g. MatterOnOffPlugin, MatterWindowCovering).

Typical use cases: irrigation/sprinkler control, garden or main water shut-off valves, appliance water supply valves — devices that need to be controlled and reported through Apple Home, Google Home, Amazon Alexa, Home Assistant, etc. via Matter.

Describe alternatives you've considered

Currently the only workaround is to build the sketch as an ESP-IDF component (Arduino as IDF component) and use the esp-matter water_valve::create() API directly instead of the Arduino Matter wrapper, which defeats the purpose of the high-level Arduino API.

Additional context

Suggested minimal API surface, mirroring existing endpoint classes:

  • MatterWaterValve::begin(bool initialState)
  • open() / close() (or setState(bool))
  • isOpen()
  • Optional: level control (0-100%) if targeting the LevelValue attribute
  • onChangeOnOff() / equivalent attribute-change callback, consistent with other endpoints

I have checked existing list of Feature requests and the Contribution Guide

  • I confirm I have checked existing list of Feature requests and Contribution Guide.