Const
Readonly
attributes: { Readonly
onIndicates the value of CurrentMode that depends on the state of the On/Off cluster on the same endpoint. If this attribute is not present or is set to null, it shall NOT have an effect, otherwise the CurrentMode attribute shall depend on the OnOff attribute of the On/Off cluster
The value of this field shall match the Mode field of one of the entries in the SupportedModes attribute.
A ModeSelectCluster supports these elements if it supports feature OnOff.