When a command in sent in the level control converter, the channel state is updated, however the local variables lastLevel and currentOnOffState are not updated. This means that when an attribute report is received, the next state update may be incorrect.
When a command in sent in the level control converter, the channel state is updated, however the local variables
lastLevel
andcurrentOnOffState
are not updated. This means that when an attribute report is received, the next state update may be incorrect.