File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ using namespace chip::app::Clusters::CookSurface;
2626
2727CHIP_ERROR CookSurfaceEndpoint::Init ()
2828{
29+ bool state = false ;
30+ OnOffServer::Instance ().getOnOffValue (mEndpointId , &state);
31+ currentOnOffState = state;
2932 return CHIP_NO_ERROR;
3033}
3134
Original file line number Diff line number Diff line change 2727#pragma once
2828
2929#include " AppSupportedTemperatureLevelsDelegate.h"
30- #include " CookSurfaceEndpoint.h"
31- #include " CookTopEndpoint.h"
30+ // Corrected relative paths (silabs/include -> go up two levels to oven-app root)
3231#include " OvenEndpoint.h"
32+ <<<<<<< HEAD
33+ =======
34+ #include " CookTopEndpoint.h"
35+ #include " CookSurfaceEndpoint.h"
36+ >>>>>>> 9e0e5250ea (Commands implementation)
3337
3438#include " AppEvent.h"
3539
Original file line number Diff line number Diff line change 1717 */
1818
1919#include " OvenManager.h"
20+ // Corrected relative paths to shared oven-app-common headers (src/ -> ../../)
2021#include " CookSurfaceEndpoint.h"
2122#include " CookTopEndpoint.h"
2223#include " OvenEndpoint.h"
2324
25+ #include " AppConfig.h"
26+ #include " AppTask.h"
27+
2428#include < app-common/zap-generated/attributes/Accessors.h>
2529#include < app-common/zap-generated/cluster-objects.h>
2630#include < app/clusters/mode-base-server/mode-base-cluster-objects.h>
You can’t perform that action at this time.
0 commit comments