diff --git a/examples/all-clusters-app/esp32/main/main.cpp b/examples/all-clusters-app/esp32/main/main.cpp index a98e4e9f60cf54..840d3d164de336 100644 --- a/examples/all-clusters-app/esp32/main/main.cpp +++ b/examples/all-clusters-app/esp32/main/main.cpp @@ -508,6 +508,12 @@ void SetupPretendDevices() AddEndpoint("Door 2"); AddCluster("Door"); AddAttribute("State", "Closed"); + + AddDevice("Occupancy Sensor"); + AddEndpoint("External"); + AddCluster("Occupancy Sensor"); + AddAttribute("Occupancy", "1"); + app::Clusters::OccupancySensing::Attributes::Occupancy::Set(1, 1); } WiFiWidget pairingWindowLED;