handleUpdateStateNodeInfoReceived method
T?
handleUpdateStateNodeInfoReceived(
- List<int> data
)
Implementation
T? handleUpdateStateNodeInfoReceived(List<int> data) {
final info = UpdateStateNodeInfoReceived(data);
if (!processedResult<UpdateStateNodeInfoReceived>(info)) {
if (firstUpdateStateNodeInfoReceived) {
firstUpdateStateNodeInfoReceived = false;
logger.fine('Supported command classes: '
'${info.sourceNode} ${info.commandClasses}');
}
// Assume that an unsolicited update indicates a state change
handleStateChange();
}
return null;
}