esp_matter: Optional attributes not provisioned for Water Heater endpoint
Author: lboueCreated Sep 26, 2026Updated Sep 29, 2026
LabelsArea: Matter
Problem
The Water Heater endpoint generator in esp_matter does not provision optional attributes (TankVolume, TankPercentage, BoostState) in the data model, even though the endpoint spec defines them.
Impact
- Code that attempts to read/write these attributes fails silently
- Values must be cached locally if needed
- The MatterWaterHeater implementation has to work around this limitation
Root Cause
The esp_matter::endpoint::water_heater::create() function only creates mandatory attributes. Optional attributes require custom feature configuration that is not currently exposed by the endpoint API.
Affected Code
- PR #12945: feat(matter): add MatterWaterHeater endpoint
- Attributes: TankVolume, TankPercentage, BoostState
Workaround
Until this is fixed upstream, the setters for optional attributes should cache values locally when the attributes don't exist in the data model.
Related
- PR #12945 (MatterWaterHeater endpoint implementation)
Source: espressif/arduino-esp32