We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66193fc commit e8d315fCopy full SHA for e8d315f
libraries/Matter/src/MatterEndpoints/MatterFan.h
@@ -86,7 +86,8 @@ class MatterFan : public MatterEndPoint {
86
return currentFanMode;
87
}
88
// used to update the state of the Fan using the current Matter Fan internal state
89
- // It is necessary to set a user callback function using onChange() to handle the physical light state
+ // It is necessary to set a user callback function using onChange() to handle the physical Fan motor state
90
+
91
void updateAccessory() {
92
if (_onChangeCB != NULL) {
93
_onChangeCB(currentFanMode, currentPercent);
0 commit comments