handleUpdateStateNodeInfoReceived method

T? handleUpdateStateNodeInfoReceived(
  1. 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;
}