File tree 2 files changed +2
-0
lines changed
examples/energy-management-app/energy-management-common
2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ CHIP_ERROR EVSEManufacturer::Init()
70
70
71
71
/* For Device Energy Management we need the ESA to be Online and ready to accept commands */
72
72
dem->SetESAState (ESAStateEnum::kOnline );
73
+ dem->SetESAType (ESATypeEnum::kEvse );
73
74
74
75
// Set the abs min and max power
75
76
dem->SetAbsMinPower (1200000 ); // 1.2KW
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ void FullWhmApplicationInit()
73
73
/* For Device Energy Management we need the ESA to be Online and ready to accept commands */
74
74
75
75
GetDEMDelegate ()->SetESAState (ESAStateEnum::kOnline );
76
+ GetDEMDelegate ()->SetESAType (ESATypeEnum::kWaterHeating );
76
77
GetDEMDelegate ()->SetDEMManufacturerDelegate (*GetWhmManufacturer ());
77
78
78
79
// Set the abs min and max power
You can’t perform that action at this time.
0 commit comments