Skip to content

Commit 4676c50

Browse files
committed
fix: set onOffValueForStartUp in case of reserved values
1 parent 6413d9a commit 4676c50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/clusters/on-off-server/on-off-server.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,7 @@ Status OnOffServer::getOnOffValueForStartUp(chip::EndpointId endpoint, bool & on
591591
break;
592592
default:
593593
// All other values 0x03- 0xFE are reserved - no action.
594+
onOffValueForStartUp = currentOnOff;
594595
break;
595596
}
596597

0 commit comments

Comments
 (0)